Home Git推送代码时报错:error:src refspec master does not match any
Post
Cancel

Git推送代码时报错:error:src refspec master does not match any

git push origin master 改成git push origin HEAD
HEAD指向当前工作的branch,master不一定指向当前工作的branch

This post is licensed under CC BY 4.0 by the author.