git常用命令
Posted chenjle
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了git常用命令相关的知识,希望对你有一定的参考价值。
GIT修改远程分支名称:
git push -delete <branchName>
删除分支
git branch -m <originBranchName> <newBranchName>
修改分支名称
git push origin <newBranchName>
提交到远程分支
GIT查看分支:
git branch :查看分支
check <branchName> :切换到branchName()分支上
以上是关于git常用命令的主要内容,如果未能解决你的问题,请参考以下文章