Error Src Refspec
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site error src refspec matches more than one About Us Learn more about Stack Overflow the company Business Learn more about error src refspec gh-pages does not match any hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss heroku error src refspec master does not match any Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up src refspec master
Src Refspec Doesn't Match Any
does not match any when pushing commits in git up vote 1080 down vote favorite 237 I cloned my repository with: git clone ssh://xxxxx/xx.git but after I changed some files and add and commit them I want to push them to server: git add xxx.php git commit -m "TEST" git push origin master But the error I get back is: error: src refspec master does git src refspec doesn't match any not match any. error: failed to push some refs to 'ssh://xxxxx.com/project.git' git commit share|improve this question edited Apr 23 '14 at 20:32 user456814 asked Nov 15 '10 at 6:09 sinoohe 5,57531112 1 @Marco that question has a lot of noise. This one got to the root of the answer quickly. It's more concise, so it gets my vote. –weberc2 Feb 8 '13 at 3:38 3 @Marco That's not a duplicate. That one is a very specific issue about pushing a local branch to a remote branch. This one is about initializing a repo and pushing it up. They produce the same error, but the REASONS they produce that error and the fixes are entirely different. Also, sinoohe, you should accept an answer. Probably the first one, seeing as it answers the question and has helped over 350 people. –tandrewnichols Jul 8 '13 at 0:42 Did you set up your git config commands to install and configure git globally on your machine? –Igor Ganapolsky Nov 4 '13 at 1:18 Hope this post would be useful to somebody- samranga.blogspot.com/2015/07/… The error in the question can be popped even
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn error pack-objects died of signal 9 more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users
Error Failed To Push Some Refs To
Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping
Error Unpack Failed Index-pack Abnormal Exit
each other. Join them; it only takes a minute: Sign up error: src refspec master does not match any up vote 5 down vote favorite 7 I have tried to follow the solutions suggested in this post but http://stackoverflow.com/questions/4181861/src-refspec-master-does-not-match-any-when-pushing-commits-in-git it didnt work and I am still getting: src refspec master does not match any. Here is what I did: Followed this solution // adding the file I created $ git add . $ git commit -m 'initial commit' $ git push origin master error: src refspec master does not match any. When doing: $ git push origin HEAD:master b40ffdf..a0d1423 HEAD -> master // looks promising // adding a remote $ git remote add devstage -f http://stackoverflow.com/questions/21264738/error-src-refspec-master-does-not-match-any
init You can work with project localy. When you want to push it to remote server, then it is necessary to http://georgik.sinusgear.com/2012/12/01/common-mistake-when-creating-new-git-repo/ add remote repo url. git remote add origin