Skip to content

Instantly share code, notes, and snippets.

@robmiller
Created April 26, 2013 15:43
Show Gist options
  • Save robmiller/5468227 to your computer and use it in GitHub Desktop.
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
# 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