Git Commands Notes
Posted quanben
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Git Commands Notes相关的知识,希望对你有一定的参考价值。
Push
Push changes to remote. (If the remote doesn‘t have the branch, the branch will be created)
git push <remote name> <branch name>
Renaming a branch (a complete version of push command)
This can delete a remote branch by providing empty local branch name.
git push <remote name> <local branch name>:<remote branch name>
References:
https://help.github.com/articles/pushing-to-a-remote/
以上是关于Git Commands Notes的主要内容,如果未能解决你的问题,请参考以下文章