Skip to content

Instantly share code, notes, and snippets.

@Flyingmana
Created October 21, 2017 10:21
Show Gist options
  • Save Flyingmana/351a1ecf517278995096e2a63757de43 to your computer and use it in GitHub Desktop.
Save Flyingmana/351a1ecf517278995096e2a63757de43 to your computer and use it in GitHub Desktop.
sign a commit afterwards without history break
GIT_COMMITTER_NAME="GitHub" GIT_COMMITER_EMAIL="[email protected]" GIT_COMMITTER_DATE="Tue Oct 3 16:04:04 2017 -0400" git rebase --committer-date-is-author-date --exec 'git commit --amend --no-edit -n -S' -i 8f7d5fcce2ae781521bef940a0d1c6150ffd6810
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment