Error src refspec master does not match any

2020-03-31 13:45

How can the answer be improved?Src refspec master does not match any error when pushing to repository Problem. Cause. This is caused by the repository still being empty. There are no commits in the repository and thus no master branch to push to the server. Resolution. Create the first commit inside of the repository and then error src refspec master does not match any

Git error: src refspec master does not match any error: failed to push some refs

Common mistake when creating new git repo. Error: src refspec master does not match any. Creating new git repo and pushing it to remote server is fairly easy. You can work with project localy. When you want to push it to remote server, then it is necessary to add remote repo url. src refspec master does not match any when pushing commits in git When you first successfully clone an empty git repository, the origin has no master branch. So the first time you have a commit to push.error src refspec master does not match any Mar 21, 2019 Git error: src refspec master does not match any error: failed to push some refs [duplicate

Rating: 4.66 / Views: 917

Error src refspec master does not match any free

Aug 14, 2018 Error: src refspec does not match any. After doing this, an undecorated git push would push to the upstream remote, while git push origin test1 would push to your origin remote. Adding the u flag there would switch the tracking branch so that instead of tracking upstreamtest1, your branch would track origintest1, error src refspec master does not match any