Git常用命令

#Git常用命令

分支操作

查看远程分支: git branch -r
查看本地分支: git branch
查看所有分支: git branch -a
删除本地分支: git branch -d <BranchName>
删除远程分支: 1. git branch -r -d origin/<BranchName>
             2. git push origin (空格):<BranchName>
             或 git push origin --delete <BranchName>
Donate
  • Copyright: Copyright is owned by the author. For commercial reprints, please contact the author for authorization. For non-commercial reprints, please indicate the source.
  • Copyrights © 2022 Mr.Yao
  • Visitors: | Views:

请我喝杯咖啡吧~

支付宝
微信