Skip to content

Instantly share code, notes, and snippets.

@qkdreyer
Last active February 23, 2020 20:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qkdreyer/0b081ac1583520ab0303af328c069079 to your computer and use it in GitHub Desktop.
Save qkdreyer/0b081ac1583520ab0303af328c069079 to your computer and use it in GitHub Desktop.
Git Reviewed By
#!/bin/sh
git config --global alias.revby "interpret-trailers --trailer \"Reviewed-by: $(git config user.name) <$(git config user.email)>\" --in-place"
git rebase @ --exec 'GIT_EDITOR="git revby" git commit --amend'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment