Setting up my first Git repository, according to instructions in "Setting up the Server" (git.scm.com).
Executing the following command:
Code: Select all
$ git push origin master
Quite cryptic.error: src refspec master does not match any.
[SOLUTION]
The problem was that the folder on the client was empty.
Simply create any file, do a "git add" on it, then commit - and then try pushing it again.
Thanks to Mark Longair (on Stackoverflow), solving it was simple.