
When collaboration goes wrong, GitKraken Merge Conflict Editor is here to clear the murky waters. Merge conflicts may happen when team members make different changes to the same line of the same file, or when one team member edits a file and another deletes the same file.

To delete a branch, right-click the branch and select Delete. Checkout is also available by right-clicking a branch. To checkout a different branch, double click on the branch label on the left panel or via the graph.

When you create a new branch, GitKraken will automatically checkout the branch for you: Right click to create a new branch. If you find yourself on the wrong branch, stash your changes, switch to the correct branch, and then pop the stash. New commits are added to the checked out branch. Checking out branchesīranch checkout updates files in the working directory to reflect the version defined by that branch. Right click on any existing commit to create a branch:Ī branch is a pointer to a specific commit in the repo, rather than making entire copies of the working directory files.īranches allow you to isolate new work from other areas of the repository, and consider implementing GitFlow as a merging strategy. When starting work on a new feature or bug, create a new branch.
#Winmerge help how to
You can swap sides in the Diff Viewer by pressing the icon on the toolbar.Learn how to branch and merge in GitKraken. On the Keymap page of the IDE settings Ctrl+Alt+S, locate this action under Version Control Systems | Diff & Merge. Productivity tips Assign a shortcut for the 'Open Blank Diff' action Paste any text you want to compare in the left and right panels. Press Ctrl+Shift+A and start typing to locate the Open Blank Diff Window action. This can be useful, for example, if you want to compare an application's console output with the output of the same application albeit a little modified. The differences between the selected files will be displayed in the bottom pane.Īpart from comparing files' or folders' contents, you can open an empty Differences Viewer and paste any text or drag files into the right and left panels to compare. Select the files you want to compare in the left and the right pane.Ĭlick the Compare New Files with Each Other icon on the toolbar. This action is only available for files in folders with the same relative path. P圜harm lets you compare two files, one of which is present in the right folder, and another one in the left even though such files are treated as different entities. Also, there may be a situation when you think a file was renamed, but is otherwise identical to a file in another folder. These may be versions of the same file that you want to compare. Sometimes a file may be present in one folder, and another file with a similar name in the other folder (for example, VCS_library_1.4 and VCS_library_1.5). Run the following command: diff where path_1 and path_2 are paths to the folders you want to compare. You can also open the difference viewer without running P圜harm. The top pane lists all files in the selected folders, while the bottom pane shows the differences between two versions of the selected file (see Compare files). The differences are displayed in the Differences Viewer for Folders:

P圜harm lets you compare files in two folders against their file size, content, or timestamp. When you are comparing two files, or a file with the Cliboard contents, you can swap sides by clicking on the toolbar. To assign shortcuts to the apply and append actions, open the Keymap page of the IDE settings Ctrl+Alt+S and locate these actions under Version Control Systems | Diff & Merge. Productivity tips Assign shortcuts for 'apply' and 'append' Select a modified file anywhere in the Version Control tool window.
