Created
April 26, 2013 15:43
-
-
Save robmiller/5468227 to your computer and use it in GitHub Desktop.
A Git alias for tagging the previous commit as having been reviewed. Useful just after a merge
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 characters
# Usage: | |
# git tag-review 'Rob Miller <[email protected]>' | |
tag-review = "!f() { git commit --amend -m \"$(git log -1 --pretty=\"format:%s%n%n%b%n%nReviewed-by: $1\")\"; }; f" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment