about git error messages

the first time you push your local repo to a remote repo (f.e. github) if you get this message:

error: src refspec master does not match any.
error: failed to push some refs to 'git@github.com:xxx/yyy.git'

it’s because you forgot to make your first commit!

Pretty simple, yeah, but the literal of the error message it’s a bit difficult to “decipher” so I decided to write a quick note in case this helps you…

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s