Skip to content

Instantly share code, notes, and snippets.

@v-thomp4
Created August 17, 2021 11:46
Show Gist options
  • Save v-thomp4/4a3af169c57449389af7f4ea31795541 to your computer and use it in GitHub Desktop.
Save v-thomp4/4a3af169c57449389af7f4ea31795541 to your computer and use it in GitHub Desktop.
Combining multiple commits before pushing in Git
git reset --soft HEAD~N
git commit -m 'Update'
git push -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment