git push origin head?

后端 未结 1 427
深忆病人
深忆病人 2021-01-14 07:33

I had made some changes to a file under a git repo, I committed the files using git commit

I then tried to push to master using git push origin ma

相关标签:
1条回答
  • 2021-01-14 08:09

    If you're working on a development branch, then git push origin master isn't going to do anything because you've asked it to push the master branch. If you want to push your development branch, you need to run:

    git push origin development
    

    ...or whatever you've called your development branch. And after doing that once, you should generally be able to run git push without additional arguments.

    0 讨论(0)
提交回复
热议问题