Skip to content

Instantly share code, notes, and snippets.

@gianpaolof
Created December 11, 2019 17:12
Show Gist options
  • Save gianpaolof/e383d9b378c3faf596dea170590f7664 to your computer and use it in GitHub Desktop.
Save gianpaolof/e383d9b378c3faf596dea170590f7664 to your computer and use it in GitHub Desktop.
sqaush commit edgex
> I use the following to squash commits
> git reset $(git merge-base master $(git rev-parse --abbrev-ref HEAD))
> git add -A
> git commit -m "feat(...):..."
> git push -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment