DEV Community

Discussion on: Git, Github: Git Initialize Error “error: src refspec master does not match any.”

Collapse
 
fazalerabbi profile image
Fazal E Rabbi

O man you save my time, Your this statement "Just add and commit something change to your repo, like adding .gitignore or any changes.Then re-run push command", solve my problem.

Collapse
 
arisa_dev profile image
Arisa Fukuzaki

It's an old post but still glad to know it helped you!👍