Skip to content

Instantly share code, notes, and snippets.

@0xD34D
Created October 15, 2013 23:40
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
#!/bin/bash
EXPECTED_ARGS=1
E_BADARGS=42
if [ $# -ne $EXPECTED_ARGS ]
then
echo "Usage `basename $0` project_name"
exit $E_BADARGS
fi
PROJECT=$1
BRANCH=jellybean-mr2.1
git push ssh://username@review.chameleonos.org:29418/ChameleonOS/$PROJECT HEAD:refs/for/$BRANCH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment