git常用的操作
git常用的操作语法介绍
1、回归合并代码的请求
git checkout . && git clean -xdf
2、强制删除本地的代码分支
git branch -D branchName
3、检出代码到本地
git checkout -b 本地分支名 远程分支名
- Author: 知乎
- Link: https://www.zhihu.hk/common-git-operate.html
- License: This work is under a 知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议. Kindly fulfill the requirements of the aforementioned License when adapting or creating a derivative of this work.