在sourceTree上进入命令行

1、查看当前分支
git branch

2、创建分支
git branch pentest

3、切换分支
git checkout pentest

切换分支以后,在idea上修改,提交即可
参考:
https://blog.csdn.net/it_xf/article/details/80885644
标签:git,xf,切换,branch,操作,pentest,分支
来源: https://www.cnblogs.com/lyon91/p/10468922.html