git: git update-index, ignore subsequent modifications of a file locally

reference:

Git command: git update-index

 

note:

At present, it is found that using git stash will restore the modification of the ignored file to the unmodified one. I don't know if other commands will restore it.

Guess you like

Origin blog.csdn.net/qq1090504117/article/details/111932177