2
0

init-git.sh 296 B

123456789
  1. #!/bin/sh
  2. git config --global user.name "wercker"
  3. git config --global user.email "info@weseek.co.jp"
  4. # reconfigure origin
  5. GITHUB_ORIGIN=https://yuki-takei:$GITHUB_TOKEN@$WERCKER_GIT_DOMAIN/$WERCKER_GIT_OWNER/$WERCKER_GIT_REPOSITORY.git
  6. git remote rm origin
  7. git remote add origin $GITHUB_ORIGIN