You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

17 lines
436 B

#!/usr/bin/env bash
git init .
git config remote.origin.url http://192.168.0.170:30412/root/frontend
git fetch --all
git checkout master
git branch --set-upstream-to=origin/master master
git pull
git config remote.origin.url http://47.106.79.88:10080/liuji/frontend
git config user.name zhangshan
git config user.email zhangshan@qniao.cn
git status -s
git add . && git commit -m "async dev git repo to aliyun git repo" && git push