git忽略已经被提交的文件
来源:互联网 发布:华为怎么下载软件 编辑:程序博客网 时间:2024/06/05 12:49
问题描述
Application/Runtime
已被提交到 Github,后来在.gitignore
中添加了忽略
// .gitignoreApplication/Runtime
发现没有效果
modified: Application/Runtime/Logs/Home/15_10_29.log
而且也想把 Github 中Application/Runtime
的Runtime
去掉。
解决方法
执行下面一个,本地并不会删除
git rm --cached Application\Runtime\*
在.gitignore
中添加下面一行
Application/Runtime
再 push 到 Github 后,Application/Runtime 就没有了。
0 0
- git忽略已经被提交的文件
- git忽略已经被提交的文件
- git忽略已经被提交的文件
- git忽略已经被提交的文件
- git忽略已经被提交的文件
- git忽略已经被提交的文件
- git忽略已经被提交的文件
- Git忽略已经被提交的文件
- Git忽略已经被提交的文件
- git忽略已经被提交的文件
- git忽略已经被提交的文件
- git忽略已经被提交的文件
- git忽略已经提交过的文件
- 002git忽略已经提交的文件
- git 忽略已经提交的文件
- git忽略已经提交的文件
- 让git忽略已经被提交的文件
- git 忽略已经被track的文件
- phpstudy 配置虚拟域名
- Shell中uniq与sort -u两种去重的对比
- POJ 3617 Best Cow Line 贪心
- tornado.concurrent-Future
- 23种设计模式学习
- git忽略已经被提交的文件
- 数据结构-平衡树
- android引入类库出现错误原因
- 百度地图android studio导入开发插件
- Android开发中error: Error retrieving parent for item: No resource found that matches the given name解决方法
- linux I2C读写应用程序
- (JXL)JAVA读取Excel数据(包含多个Sheet)
- cocos2d-lua,tableView中设置了按钮的不可吞噬性,但是还是吞噬了,点住按钮不能拖到tableView
- Redis HA方案总结