git
文章平均质量分 89
赵玉玲
只有不断接触新的东西生活才有趣味
展开
-
代码规范-提交时检查
工具: husky:Husky improves your commits and more woof! You can use it to lint your commit messages, run tests, lint code, etc… when you commit or push. Husky supports all Git hooks. husky可以让你方便的使用各种git hooks lint-staged:This project contains a script that原创 2022-03-02 20:36:17 · 470 阅读 · 0 评论 -
git配置约定
文件名大小写敏感 git默认文件名大小写不敏感,通过以下配置修改 git config core.ignorecase false原创 2019-12-24 15:25:16 · 183 阅读 · 0 评论 -
git忽略已被提交的文件
https://segmentfault.com/q/1010000000430426转载 2017-03-19 14:33:19 · 337 阅读 · 0 评论 -
cherry-pick这是什么神奇的现象
要应用在branch1上的c1提交点的修改 在branch2分支上进行cherry-pick c1时,按照c1的修改,标红的代码应该删除,但并没有删除原创 2019-10-10 19:34:06 · 870 阅读 · 0 评论