Skip to content

Instantly share code, notes, and snippets.

@rud
Created August 26, 2009 09:42
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 rud/175421 to your computer and use it in GitHub Desktop.
Save rud/175421 to your computer and use it in GitHub Desktop.
#!/bin/sh
NEW_BASE=${1?"Usage: $0 <treeish>"}
git branch --force reviewed $NEW_BASE || exit 1
echo Marked as reviewed: `git rev-parse --short reviewed`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment