将.gitignore添加到已提交的文件

时间:2014-09-08 04:08:56

标签: git magento svn

我错误地使用git我没有忽略gitignore中的jpeg文件。

由于图像,我的回购日复一日地增加。

git rm --cached blog/wp-content/upload/*

运行此命令后,我收到以下错误

fatal: pathspec 'blog/wp-content/upload/' did not match any files

请告诉我如何取消跟踪这些文件。

此外,我需要解开已承诺回购的magento文件

0 个答案:

没有答案