Git – errors I have seen

Errors : master branch not set

If you get an error like:

% git push
No refs in common and none specified; doing nothing.
Perhaps you should specify a branch such as 'master'.
error: failed to push some refs to '<repo>.git

then you should try the following:

git push origin master

Leave a Reply

Your email address will not be published. Required fields are marked *