2016-09-12 3 views
0

git push production masterを実行した後、これらのエラーが発生しました。Gitでpush production masterを使用するには?

error: src refspec master does not match any.

error: failed to push some refs to 'ssh://[email protected]/var/repo/site.git'

+1

は、それは 'gitのプッシュ原点master'ではないでしょうか? – Shravan40

+1

[src refspec masterはgitでコミットをプッシュすると一致しません](http://stackoverflow.com/questions/4181861/src-refspec-master-does-not-match-any-when-pushing-commits -in-git) – Bijendra

答えて

0

それを修正する適切な方法に従ってください:

git add . 
git commit -m 'initial commit' 
git push origin master 
関連する問題