将git push origin master
改成git push origin HEAD
HEAD指向当前工作的branch,master不一定指向当前工作的branch
Post
Cancel
Git推送代码时报错:error:src refspec master does not match any
This post is licensed under
CC BY 4.0
by the author.