Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GIT解惑-修改了.gitignore 文件不生效 #55

sunmaobin opened this issue Jul 13, 2018 · 0 comments


Copy link

commented Jul 13, 2018

有时候修改了 .gitignore 文件不生效,执行如下命令重新刷新下缓存就可以了。

git rm -r --cached .
git add .
git commit -m 'update cached'


@sunmaobin sunmaobin added this to the 2018年 milestone Jul 13, 2018

@sunmaobin sunmaobin self-assigned this Jul 13, 2018

@sunmaobin sunmaobin added the GIT label Jul 13, 2018

@sunmaobin sunmaobin changed the title GIT解惑 - 修改了.gitignore 文件不生效 GIT解惑-修改了.gitignore 文件不生效 Apr 17, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.