<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Γιώργος Καραγιαννόπουλος on Medium]]></title>
        <description><![CDATA[Stories by Γιώργος Καραγιαννόπουλος on Medium]]></description>
        <link>https://medium.com/@fbnpvsssf?source=rss-c73068873914------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Kdpq6K8ELusrIkGJXrpRiA.jpeg</url>
            <title>Stories by Γιώργος Καραγιαννόπουλος on Medium</title>
            <link>https://medium.com/@fbnpvsssf?source=rss-c73068873914------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 22:42:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@fbnpvsssf/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Let’s take a minute to appreciate Intellij IDEA’s tool for git.]]></title>
            <link>https://medium.com/@fbnpvsssf/lets-take-a-minute-to-appreciate-intellij-idea-s-tool-for-git-d80049b3dee4?source=rss-c73068873914------2</link>
            <guid isPermaLink="false">https://medium.com/p/d80049b3dee4</guid>
            <category><![CDATA[git]]></category>
            <category><![CDATA[version-control]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[intellij]]></category>
            <dc:creator><![CDATA[Γιώργος Καραγιαννόπουλος]]></dc:creator>
            <pubDate>Sun, 03 Jul 2022 17:46:18 GMT</pubDate>
            <atom:updated>2022-07-03T17:46:18.717Z</atom:updated>
            <content:encoded><![CDATA[<p>In my short career span as a software engineer I’ve met several teams that all face different problems and difficulties. However, I’ve noticed one thing that almost every team is dreadful about and this is Git.</p><p>No, I’m not referring to basic git actions like checking-out code, committing, pulling etc. I’m talking about when time comes that their isolated for months branches, on which couple developers are working a new feature, need to be merged with the staging branch and conflicts arise. My opinion is that when you are working on a separate branch you should regularly “feed” it with the changes your future target branch receives, yet I’ve noticed this is a practice not many developers adopt.</p><p>Moreover, I’ve seen too rarely powerful features of git, for instance cherry-picking, been taken advantage of. Usually, most developers start a new branch from staging, and then after several commits on that branch, they raise a PR against the staging branch and that’s all.</p><p>Don’t get me wrong, this is a very good and clean branching strategy, but what happens when you are amidst finishing a new feature and a serious bug comes up on production? You might then need to stash your changes, switch to a new branch to do a hotfix, maybe pick on a commit that lives on a colleague’s branch that fixes the bug by cherry-picking (yes you can make the changes manually by hand but please don’t), then merge the hotfix to master, and of course to staging, plus also update and resolve possible conflicts on the ongoing isolated branches. This has to be fast, and better not wait for another day because who knows what might arise tomorrow? The good news is this can be done in a matter of minutes by using the super comprehensive Intellij’s git tool.</p><p>I’ll list some of my favourite features Intellij git tool provides that made me not need to look to any other solution, and also consider all those who use git in terminal for heavy duty tasks, like merge conflict resolution, pure psychos.</p><h4>Git conflict resolution</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pWyA-hAEu5Vs-7TheT1F_Q.png" /><figcaption>1. Intellij’s git conflict resolution panel.</figcaption></figure><p>The most vital and arguably the feature that gives me all the confidence I need to face any difficult git situation is the perfect conflict resolution panel. More specifically, the solution Intellij offers is a tool of three panes, where on left and right you see the two conflicting versions of the file, and in the middle is the resulting code. The changes on both sides, appear either on gray (deleted), green (new), blue (modified), or red (conflicting). For each change, there’s a cancel (x) and accept (double arrows) option available for you to tailor the desired outcome. From personal experience, I find myself almost mindlessly accepting deleted, new, and modified with little to no mind effort and solving conflicting lines intuitively enough. What is more, since the panes are in fact just any other editor, you can experiment while at it by using ctrl+z or any other classic editor shortcut.</p><h4>Git merge, rebase, cherry-pick</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/886/1*asTbiMcO3hh0BlNR1GBMxg.png" /><figcaption>2. Merging/rebasing options on git tool.</figcaption></figure><p>JetBrain’s git tool make merging and rebasing as easy as it can get. You only need to checkout the target branch you want to update and then right click on source branch, choose either merge or rebase and… BOOM! You’ll will either get a successful notification that action is completed or you’ll be prompted with a pane for conflict resolution. You can have access to more merging and rebasing options, like squashed commits, which I use a lot when merging towards master or staging branches, via <strong>VCS Git | Merge Changes </strong>menu on the top.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nCybBRFLZ3jSQAzOXuRcZQ.png" /><figcaption>3. Cherry-picking on git tool.</figcaption></figure><p>Cherry-picking is also something that I use a lot, for example when I need a change from a colleague who is working on a separate branch and informs that he made the change but not merged to a common branch yet. In such case, you can easily locate the commit on git tool, right click, then select cherry-pick and you have it. Moreover, you can select to cherry-pick multiple commits at once, or even cherry-pick individual files modified during a commit. To do the later, just select the file(s) you want from the changes, right click and pick ‘Cherry-Pick Selected Changes’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*-IPfcKlQyeiHRYMgkT7bCw.png" /><figcaption>4. Cherry-picking only specific files from a commit.</figcaption></figure><p>There are so many other capabilities that JetBrains put so elegantly on this git tool (e.g. the changes diff panel) that I won’t refer to on this post. You’ll will find excellent descriptions on their documentation page anyway.</p><p>To sum up, I know that a great software engineer is not tied with particular technologies or tools. Although, as a good craftsman needs good tools to improve his work and products, likewise us software engineers need tools that make our work lives easier by quickening tedious tasks and reducing our mistakes. For that reason, I believe Intellij offers, if not the best, one of the best git tools out there which if at x§hand, you should take advantage of.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d80049b3dee4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>