Git how to push to origin repository

来自个人维基
2022年4月11日 (一) 08:50free6d1823讨论 | 贡献的版本

跳转至: 导航搜索
  • Push my changes to the remote repository.
git push origin master
  • Push my changes to the remote repository for review.
git push origin HEAD:refs/for/<branch>
  • If your local repository is older than the central, you will need to rebase on top of the origin.
git pull --rebase origin master