且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

从git中删除文件

更新时间:2023-12-04 20:26:40

它也会为他们删除该文件。实际上,在这两种情况下都会发生 - 无论是否使用 - cached 或不是,因为最终提交的内容将是同一件事:删除文件。

It will delete that file for them, too. Actually that will happen in both cases - no matter if you use --cached or not since what you eventually commit will be the same thing: The deletion of the file.