Created
September 16, 2022 16:21
-
-
Save kobybibas/44920647e2939a07aac418831227a917 to your computer and use it in GitHub Desktop.
Squash commits
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git reset --soft HEAD~6 | |
git commit -m "New message for the combined commit" | |
git push origin main --force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment