git 删除远程分支 :
git push origin :远程分支
例如删除远程分支 osc(楼主的origin是 osc):
[email protected] MINGW64 ~/workspace/HelloWorld/src/selenium (master)
$ git push osc :osc
To [email protected]:wuzhiyi51/selenium_learn.git
- [deleted] osc
git 创建分支(branch)
git branch test #创建一个name为test的branch
git 切换branch
git checkout test #切换到 test 分支
时间: 2024-11-13 16:14:26