3/6/2023 0 Comments Gitkraken diffGitKraken offers many options for branches and commits. ![]() Whilst the majority of this is easy to do by command line, it’s a lot easier (less typing), and you don’t have to try and remember a command you use once in a while. Right clicking on a historical commit also gives a lot of options, allowing you to create a branch from it and so much more. You can set the upstream branch, create a branch from where the right clicked branch is located, revert a commit, and much more. GitKraken also has many options in regards to branches and commits. Note that this is 1.2 version, an old version. ![]() However, GitKraken makes it incredibly easy to pick what you want to keep, and remove what you don’t want in merge conflicts. This is a particularly impressive features of GitKraken – Gits way of showing merge conflicts wasn’t ever the best, and I never could get the hang of resolving them on the command line. The output is then shown at the bottom, so you can see what the result will be. You can then select individual lines that you want to keep, or select a whole file. The application shows you one commit file from one branch, and the other commit that is creating a conflict. Merging conflicts is easy with GitKraken. GitKraken makes it easy to stage a separate change, or hunk. You can choose whether to stage just a hunk of the file, a link, or the whole thing. If you’re making a change, but notice a small code improvement that could be done, GitKraken allows you to commit this separately so you don’t need to muddy the commit. The fabulous and customisable diff tool that GitKraken offers makes it easy to see what changes people have been doing in their pull requests and commits.Īnother good feature of GitKraken is the ability to stage in hunks and lines. In addition to this, you can quickly jump to changes. This makes it easy to see how a file was changed in a commit, and you can change it hunk view, inline view, or side by side view, my favourite. One of my favourite features of GitKraken is the diff tool. I only learnt about this whilst writing this review (from the GIF above in fact), and it’s a great feature of GitKraken that allows you to make quick edits. Often it’s a pain to make a quick change to code on PC, however GitKraken allows you to edit the code right in app. Merging with GitKraken, and editing in GitKraken. However, I did just want to say how easy GitKraken makes it to merge two branches – you simply drag a branch label and drop it into the branch you want to, and click on the menu to confirm the merge. I won’t go into all the usual things that you can do with GUI Git clients, such as pushing and pulling, branching etc. I’m really impressed with the ease of use, yet power, that GitKraken offers in a graphical interface for Git. GitKraken is elegant and easy to use – it’s easy to fast forward various branches, checkout branches, submit pull requests and commit. However, when I discovered GitKraken, that changed, and I’ve rarely had to open up the command line to fix conflicts and fast forward to the remote branches. I usually used the Git command line, as it was powerful and relatively easy to use. ![]() Detailed instruction is available on tig’s website.I’ve been using Git since I started programming in 2014. You can install directly from the sources if you want to use the latest version. Windows users should use Git for Windows. Mac users can use homebrew: brew install tig You can install tig directly with the package manager on all common Linux distributions. We can solve this with tig, the command line repository browser. Also, SourceTree and other desktop clients are optimized for the mouse - and we use the keyboard faster. Once you connect to a remote server, you lose all the advantages. You can’t use those tools in the terminal. This makes browsing a repository comfortable. They visualize the commit tree and make it easy to find differences between commits. Tools like SourceTree and GitKraken are popular among many developers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |