码迷,mamicode.com
首页 > 其他好文 > 详细

【github问题】error: src refspec master does not match any解决方法|please tell me who you are

时间:2016-12-11 18:03:55      阅读:353      评论:0      收藏:0      [点我收藏+]

标签:terminal   ase   ace   remote   lease   use   需要   select   any   

http://www.open-open.com/lib/view/open1366080269265.html这个先记录一下省得以后再找

我这里要解决的问题根本是:please tell me who you are.
出现问题原因:在本地创建了一个文件后,在github上创建了另一个,我需要将他们连接起来,
git remote add origin ‘地址‘,这里会出现问题,使用下面2,3步解决,不是使用clone下来的需要add origin地址进行连接
1git init
2.git config user.name "someone"
3.git config user.email "someone@someplace.com"
4.git add *
5.git commit -m "some init msg"

【github问题】error: src refspec master does not match any解决方法|please tell me who you are

标签:terminal   ase   ace   remote   lease   use   需要   select   any   

原文地址:http://www.cnblogs.com/fry-img/p/6159946.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!