Skip to content

Instantly share code, notes, and snippets.

@allanjos
Created April 25, 2019 17:50
Show Gist options
  • Select an option

  • Save allanjos/2d8c490cd475f74fb73185b1ae850fc2 to your computer and use it in GitHub Desktop.

Select an option

Save allanjos/2d8c490cd475f74fb73185b1ae850fc2 to your computer and use it in GitHub Desktop.
GIT - Rewrite old commits to add signature
git filter-branch --msg-filter "cat - && echo && echo 'Signed-off-by: <USERNAME> <<EMAIL>>'" HEAD~3..HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment