Skip to content

Instantly share code, notes, and snippets.

@0xD34D
Created Oct 15, 2013
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