Created
October 1, 2014 13:52
-
-
Save kwk/d70f20d17b18c4f3296d to your computer and use it in GitHub Desktop.
Revisions
-
kwk revised this gist
Oct 1, 2014 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -8,4 +8,6 @@ To sign-off the last two commits. Then force to push them to the remote repo with the `-f` option: git push -f origin (Source: http://stackoverflow.com/questions/13043357/git-sign-off-previous-commits) -
kwk created this gist
Oct 1, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ No problem, run git filter-branch --msg-filter "cat - && echo && echo 'Signed-off-by: Your Name <[email protected]>'" HEAD~2..HEAD To sign-off the last two commits. Then force to push them to the remote repo with the `-f` option: git push -f origin