目录
- 1、Git 环境搭建
-
- 2、Git 常用指令
- 2.1 Git 生成差异文件补丁包
- 2.2 Git 移除未纳入跟踪的文件
- 2.3 Git 选择性合并分支
1、Git 环境搭建
1.1 Git 配置正常显示中文文件名
git config --global core.quotepath off
2、Git 常用指令
2.1 Git 生成差异文件补丁包
git diff 0a3887ba 68172b4b --name-only | xargs zip update.zip
也可以用
git diff HEAD HEAD^ --name-only | xargs zip update.zip
2.2 Git 移除未纳入跟踪的文件
git clean -df
2.3 Git 选择性合并分支
git cherry-pick commit_id
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)