Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道我可以通过SO 回答从命令行执行此操作, 但我希望通过 GUI 解决第一个世界问题
我还没有找到与 完全等价的git rm --cached东西,但我发现了如何忽略跟踪的文件/目录并同时将其从缓存中删除(这通常是我需要的):
git rm --cached
Ignore
Ignore and Stop Tracking