4,461
edits
→Ignore files: add a section for getting a list of folders and files that are assume-unchanged |
|||
Line 155: | Line 155: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
$ git update-index --no-assume-unchanged <filename> | $ git update-index --no-assume-unchanged <filename> | ||
</syntaxhighlight> | |||
;Get a list of folders and files that are <code>assume-unchanged</code> | |||
<syntaxhighlight lang="bash"> | |||
$ git ls-files -v | grep '^h' | |||
</syntaxhighlight> | </syntaxhighlight> | ||