Git运用 三 (Gitee版)

50 阅读1分钟

创建分支:git branch [分支名称]    git branch  b1

查看分支: git branch -v

 切换分支:git checkout b1

给分支添加内容:git add get_tong.txt  git commit -m "b1 branch commit1"  git branch -v

 先要切换到接收合并的分支

 删除分支:git branch -d b1