1.列出所有分支
git branch -a
2.创建test分支
git branch test
3.切换到test分支:
git checkout test
4.添加add修改:
git add *
5.添加commit注释
git commit -m "第一次提交代码"
6.提交到服务器
git push origin test
7.删除本地test分支
git branch -d test
8.删除远程test分支
git push origin --delete test