Git 常用命令
1. 删除远程分支
git push <remoteName> --delete <branchName>
例如:
git push origin --delete branchAForTest
这个命令还是挺好理解的,push 表示对远程的操作,–delete 表示删除
2. 创建一个本地分支,并将其与远程分支连接
git checkout -b <branchName> <remoteName>/<branchName>
例如:
git checkout -b client1121 origin/client1121