git branch 分支管理命令

96 阅读1分钟

创建分支

git branch [新分支名]

查看本地分支

git branch

重命名分支

git branch -m [分支原名] [分支新名]

删除本地分支

git branch -d [分支名]