Created
July 22, 2022 13:53
-
-
Save whatisor/3b6f9d30eee5789f04cd90039163cb84 to your computer and use it in GitHub Desktop.
Resign old 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
1. Find your good commit id : git log | |
2. git rebase --exec 'git commit --amend --no-edit -n -S' -i <your latest good commit id> | |
3. just save and quit when prompted | |
4. git push origin <branch name> --force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment