Advertisement
bigrushdog

review_script

Jul 4th, 2013
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.26 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. REPO=$(git remote -v | head -n1 | awk '{print $2}' | sed -e 's,.*:\(.*/\)\?,,' -e 's/\.git$//')
  4. REMOTE="gerrit-review.codefirex.com:29418"
  5. USERNAME="bigrushdog"
  6. BRANCH="jb-devel-release"
  7.  
  8. git push ssh://$USERNAME@$REMOTE/$REPO HEAD:refs/for/$BRANCH
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement