首页 > 其他 > 详细

git push ‘No refs in common and none specified’doing nothing

时间:2014-03-10 17:59:25      阅读:524      评论:0      收藏:0      [点我收藏+]

修改多个git提交的问题,即一次提交多个版本库更新

目前是在github下新增一个新的版本库,即同步到不同的服务器上

编辑.git 下的config

[remote "origin"]

        url = https://username@github.com/username/project/
        url = http://username@192.168.89.1:8000/project

        fetch = +refs/heads/*:refs/remotes/origin/*

上面的配置会提示输入两次密码


在git push后会显示

‘No refs in common and none specified’doing nothing

输入git push origin master即可解决问题

git push ‘No refs in common and none specified’doing nothing,布布扣,bubuko.com

git push ‘No refs in common and none specified’doing nothing

原文:http://blog.csdn.net/jacsice/article/details/20905891

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!