Skip to content

Instantly share code, notes, and snippets.

@evanslai
Created January 6, 2018 09:00
Show Gist options
  • Save evanslai/d0c425aeb350a7815edb199256854347 to your computer and use it in GitHub Desktop.
Save evanslai/d0c425aeb350a7815edb199256854347 to your computer and use it in GitHub Desktop.
Git: Merge all changes from another branch as a single commit #git
git merge --squash <feature branch>
git commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment