git

1.修改命令

git remote origin set-url [url]

2.先删后加

git remote rm origin
git remote add origin [url]

3.直接修改config文件

git 远程仓库管理

4.You asked me to pull without telling me which branch you

want to merge with, and 'branch.production.merge' in
your configuration file does not tell me, either. Please
specify which branch you want to use on the command line and
try again (e.g. 'git pull ').
See git-pull(1) for details.
解决: git branch --set-upstream production origin/production

posted @ 2016-04-29 22:37  Thomas_188  阅读(140)  评论(0编辑  收藏  举报