Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code review command #28

Closed
croaky opened this issue May 14, 2012 · 1 comment
Closed

Code review command #28

croaky opened this issue May 14, 2012 · 1 comment

Comments

@croaky
Copy link
Contributor

croaky commented May 14, 2012

Works for projects using a ticket-number-in-branch convention.

#!/bin/sh

code-review()
{
  branch=`git branch -r | ack $1 | sed 's/.*\///'`
  git checkout $branch
}
@croaky
Copy link
Contributor Author

croaky commented Aug 3, 2012

Closing. This is in the wrong repo. Should be in dotfiles.

@croaky croaky closed this as completed Aug 3, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant