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