Merge Branches Dialog
Use this dialog box to specify arguments for merging branches in a local Git repository.
From this drop-down list, select the path to the local repository in which you want to merge branches.
|This read-only field shows the name of the branch which is currently checked out in the selected local repository. This is the target branch, the changes from the selected source branches will be applied to it. |
The contents of the field depend on the selection in the Git Root drop-down list.
Branches to Merge
|Use this list box to specify the source branches from which changes will be applied to the target branch. |
The list shows only those branches that contain applicable commits. Applicable commits are commits made after a branch separated from the target branch.
|From this drop-down list, select the merge strategy. The available options are: |
When two or more source branches are selected in the Branches to Merge list box, only the Octopus and Ours options are available.
Select this checkbox if you need to inspect and, if necessary, adjust the result of merging before committing the result. The merge is performed but is not committed automatically, as if it failed.
No Fast Forward
Select this checkbox to generate a merge commit even if the merge resolved as a fast-forward.
Select this checkbox to create a single commit on top of the current branch instead of merging one or more other branches. The working tree and index state are produced as if a real merge happened, but commit is not performed and the HEAD is not moved.
Add Log Information
Select this checkbox to have PyCharm populate, in addition to branch names, a log message with one-line descriptions from the actual commits that are being merged.
|In this text box, provide a description for the commit. |
The text box is available only if the No Commit checkbox is not selected.
Click this button to initiate merging the specified branches in the local repository according to the defined settings.