git分支操作

在sourceTree上进入命令行

1、查看当前分支

git branch

2、创建分支

git branch pentest

3、切换分支

git checkout pentest

切换分支以后,在idea上修改,提交即可

参考:

https://blog.csdn.net/it_xf/article/details/80885644

原文地址:https://www.cnblogs.com/lyon91/p/10468922.html