Github:failed to add file / to index
2016-04-12 14:02
155 查看
本地使用github时,commit添加到路径中的项目时会提示Github:failed to add file / to index
是因为创建的项目目录里面有个目录曾经创建国项目,里面会有一个隐藏的文件”.git”,删除即可
1)显示Mac隐藏文件的命令:defaults write com.apple.finder AppleShowAllFiles -bool true
(2)隐藏Mac隐藏文件的命令:defaults write com.apple.finder AppleShowAllFiles -bool false
是因为创建的项目目录里面有个目录曾经创建国项目,里面会有一个隐藏的文件”.git”,删除即可
1)显示Mac隐藏文件的命令:defaults write com.apple.finder AppleShowAllFiles -bool true
(2)隐藏Mac隐藏文件的命令:defaults write com.apple.finder AppleShowAllFiles -bool false
相关文章推荐
- python 爬虫The One的 数据两种方式
- C++ Builder中导入Excel表格数据
- struts2 中英文切换
- Eclipse崩溃后无法启动的解决办法[org.eclipse.swt.SWTException: Invalid thread access]
- python面对对象编程-------5:获取属性的四种办法:@property, __setattr__(__getattr__) ,descriptor
- Java集合(一):Java集合概述
- struts 一个action处理过个请求
- C# Winform 删除信息提示
- VB中的SSTab控件隐藏选项卡方法
- ASP.NET MVC4通过UrlRewriter配置伪静态
- Java接口嵌套
- Java 8 新特性:Lambda 表达式
- Github/Csdn - 推荐博文/文章/案例 学习推荐
- struts2 result="stream''文件下载
- asp.net 母版页使用详解
- eclipse如何修改dynamic web module version
- 解决springMVC对象中包含Set集合的问题
- Java基础系列12:使用CallableStatement接口调用数据库中的存储过程
- java中的运算符都有哪些
- struts2 值栈 与actionContext