Skip to content

Instantly share code, notes, and snippets.

@devlights
Created December 28, 2013 11:25
Show Gist options
  • Save devlights/8158436 to your computer and use it in GitHub Desktop.
Save devlights/8158436 to your computer and use it in GitHub Desktop.
gitでno-ffでマージしながらコミットはひとまとめ(squash)にしてマージする方法
$ git checkout -b branch-for-merge
$ git merge --squash topic-branch
$ git checkout master
$ git merge --no-ff branch-for-merge
$ git push origin master
$ git branch -d branch-for-merge
$ git branch -d topic-branch
@devlights
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment