Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

12 rader
173 B

  1. #!/bin/bash
  2. BASEDIR=$1
  3. if [ "x$BASEDIR" = "x" ] ; then
  4. echo "No template git repo specified. Usage: $0 <template-git-repo>"
  5. exit 1
  6. fi
  7. cd $BASEDIR
  8. git fetch
  9. git rebase