Skip to content

Instantly share code, notes, and snippets.

@francois-blanchard
Created May 3, 2016 09:48
Show Gist options
  • Save francois-blanchard/c5e37ae6f08cd5ef3e7054ac933b9581 to your computer and use it in GitHub Desktop.
Save francois-blanchard/c5e37ae6f08cd5ef3e7054ac933b9581 to your computer and use it in GitHub Desktop.
squash and commit

squash and commit

$ git checkout master
$ git merge --squash release_branch
$ git commit -m 'sprint #42'
$ git log
$ git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment