在哪里“git update-index --assume-unchanged file”实际上将这些信息保存到? [英] Where does "git update-index --assume-unchanged file" actually save this information to?
问题描述
我喜欢直接修改配置文件(比如.gitignore和.git / config),而不是记住任意命令,但我不知道Git在哪里存储了传递给git update-index --assume
如果您知道,请告诉我! 解决方案
它说明了在命令中的位置--git update-index
所以你不能真的在编辑索引,因为它不是一个文本文件。
此外,为了更详细地介绍与存储的内容,git update-index --assume-unchanged
命令,请参阅使用假定不变位 手册中的部分
I like to modify config files directly (like .gitignore and .git/config) instead of remembering arbitrary commands, but I don't know where Git stores the file references that get passed to "git update-index --assume-unchanged file".
If you know, please do tell!
It says where in the command - git update-index
So you can't really be editing the index as it is not a text file.
Also, to give more detail on what is stored with the git update-index --assume-unchanged
command, see the Using "assume unchanged" bit
section in the manual
这篇关于在哪里“git update-index --assume-unchanged file”实际上将这些信息保存到?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!