![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
git
文章平均质量分 92
koney·C
选择决定命运!
展开
-
Git 无法添加文件夹下文件(如:Hexo下themes的模板文件)
可能是该子文件夹下有.git文件夹导致无法上传 1. 删除子文件夹下.git后,依然无法提交子文件夹下的文件。 2. git rm --cached themes/hueman 3. git add . 4. git commit -m "xxx" 5. git push origin master 如果执行git rm --cached directory 提示fatal: Unable t...原创 2019-10-22 14:42:27 · 631 阅读 · 0 评论 -
Git --- git bash版本管理工具之命令使用
1. 创建.ignore 文件在用户所在的目录 如:C:\Users\cuigu cuigu@Koney MINGW64 ~ $ touch .ignore 2. 先添加全局忽略文件配置 cuigu@Koney MINGW64 ~ $ git config --global core.excludesfile ~/.gitignore_global 3. 编辑.gitignore_global...原创 2019-10-19 00:14:08 · 430 阅读 · 0 评论