-
-
Save galliani/89e077336d343e8b10e0063de8411394 to your computer and use it in GitHub Desktop.
Resign old commits
This file contains hidden or 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