2015-10-22 08:31:52 +01:00
|
|
|
# git merge
|
2014-03-09 12:20:13 +00:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
> Merge branches.
|
2014-03-09 12:20:13 +00:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Merge a branch with your current branch:
|
2014-03-09 12:20:13 +00:00
|
|
|
|
2016-09-21 16:35:46 +01:00
|
|
|
`git merge {{branch_name}}`
|
2014-03-09 12:20:13 +00:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Edit the merge message:
|
2014-03-09 12:20:13 +00:00
|
|
|
|
2016-09-21 16:35:46 +01:00
|
|
|
`git merge -e {{branch_name}}`
|
2018-04-03 00:59:41 +01:00
|
|
|
|
|
|
|
- Merge a branch and create a merge commit:
|
|
|
|
|
|
|
|
`git merge --no-ff {{branch_name}}`
|