【转】.gitignore失效的解决办法
2014-04-24 10:26
267 查看
转自:http://foreverdo.diandian.com/post/2012-09-20/40038034798
How to make .gitignore works?Just got the answer from the IRC channel.
Running command:
git rm -r --cached .(delete all cached file) 此处注意啊 末尾有个 空格+点
This removes everything from the index, then just run:
git add .
此处注意啊 末尾有个 空格+点
Commit it:
git commit -m ".gitignore is now working"
相关文章推荐
- .gitignore失效的解决办法
- git .gitignore失效的解决办法
- Git .gitignore忽略策略失效的解决办法
- git .gitignore失效的解决办法
- git .gitignore失效的解决办法
- .gitignore失效的解决办法
- 彻底解决git中.gitignore文件失效原因及解决办法
- git .gitignore失效的解决办法
- Git忽略规则和.gitignore规则不生效的解决办法
- Git忽略规则及.gitignore规则不生效的解决办法
- Git忽略规则及.gitignore规则不生效的解决办法
- gitignore 不起作用的解决办法
- 解决.gitignore不生效的办法
- git中配置的.gitignore不生效的解决办法
- Git忽略规则及.gitignore规则不生效的解决办法
- git ignore 添加忽略文件不生效解决办法
- Git忽略规则及.gitignore规则不生效的解决办法
- Git忽略规则和.gitignore规则不生效的解决办法
- Git忽略规则及.gitignore规则不生效的解决办法
- Git忽略规则及.gitignore规则不生效的解决办法