git笔记

 教程

http://gitbook.liuhui998.com/index.html

 

My error message was something like this:

error: src refspec master does not match any.

error: failed to push some refs to 'git@github ... .git'

and it solved by executing the following commands:

touch README

git add README



git add (all other files)

git commit -m 'reinitialized files'

git push origin master --force

你可能感兴趣的:(git)