We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
大家可以在这个ISSUE里面回复补充Git相关问题,一起完善 Git 场景解决方案
场景: 有些情况开发者把原有不需要提交的代码提交到了远端仓库,再使用.gitignore忽略文件不生效。哪怕我们删除后再提交也没有办法忽略。这种情况下我们应该怎么解决?
方法: 我们可以使用git rm --cache 删除原来git跟踪的文件缓存,再在.gitignore里面添加忽略文件
The text was updated successfully, but these errors were encountered:
No branches or pull requests
大家可以在这个ISSUE里面回复补充Git相关问题,一起完善 Git 场景解决方案
举例
场景: 有些情况开发者把原有不需要提交的代码提交到了远端仓库,再使用.gitignore忽略文件不生效。哪怕我们删除后再提交也没有办法忽略。这种情况下我们应该怎么解决?
方法: 我们可以使用git rm --cache 删除原来git跟踪的文件缓存,再在.gitignore里面添加忽略文件
The text was updated successfully, but these errors were encountered: