且构网

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

未跟踪的文件仍显示为git状态

更新时间:2023-01-14 22:53:16

由于您是在本地忽略存储库中的文件,因此需要告诉git您正在忽略它们

Since you are locally ignoring files that are in the repository, you need to tell git that you are ignoring them

git update-index --assume-unchanged <files to forget>