Github:failed to add file / to index
本地使用github时,commit添加到路径中的项目时会提示Github:failed to add file / to index是因为创建的项目目录里面有个目录曾经创建国项目,里面会有一个隐藏的文件”.git”,删除即可1)显示Mac隐藏文件的命令:defaults write com.apple.finder AppleShowAllFiles -bool true
原创
2016-04-12 14:02:57 ·
2946 阅读 ·
0 评论