您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

refresh_templates.sh 173 B

1234567891011
  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