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常用命令的主要内容,如果未能解决你的问题,请参考以下文章

php代码片段: sendFile/videoStream/sendEmail/phpexcel/ffmpeg/zip

常用的DOC命令

常用DOC命令

es 常用命令总结

GO常用命令

C#常用代码片段备忘