| by Scott Kilroy | No comments

Git – problems with first push

No refs in common and none specified; doing nothing.
Perhaps you should specify a branch such as 'master'.
fatal: The remote end hung up unexpectedly

Just run

git push origin master

Or if you get

error: src refspec master does not match any.

just do

git commit -m "initial commit"
git push origin master

Share Button