git: track the specific branch only No tags, no other branches. Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
diff --git a/scripts/git/git-track b/scripts/git/git-track index d1aa269..9f6f2bb 100755 --- a/scripts/git/git-track +++ b/scripts/git/git-track
@@ -28,7 +28,7 @@ if [ $# -ne 2 ] then echo "Remote $REMOTE not tracked yet and no URL passed" - echo "Try again with the repo's URL or add the remote manually" + echo " Try again with the repo's URL or add the remote manually" usage fi URL=$2 @@ -37,4 +37,4 @@ git remote set-branches --add $REMOTE $BRANCH fi -git fetch $REMOTE +git fetch -n $REMOTE $BRANCH