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

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"
posted @ 2016-12-11 16:59  素绚  阅读(247)  评论(0编辑  收藏  举报