Git 取消跟踪已版本控制的文件

不想继续追踪某个文件

1
git update-index --assume-unchanged your_file_path

如果想再次继续跟踪某个文件

1
git update-index --no-assume-unchanged your_file_path

猜你喜欢

转载自blog.csdn.net/u013291076/article/details/80801492