Skip to content

Instantly share code, notes, and snippets.

View WassimBenzarti's full-sized avatar
💭
Creative

Wassim Benzarti WassimBenzarti

💭
Creative
  • Germany
View GitHub Profile
@whatisor
whatisor / resign-old-commits
Created July 22, 2022 13:53
Resign old commits
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