Last active
February 23, 2020 20:11
-
-
Save qkdreyer/0b081ac1583520ab0303af328c069079 to your computer and use it in GitHub Desktop.
Git Reviewed By
This file contains 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 characters
#!/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