Git: Difference between revisions

153 bytes added ,  15 November 2016
→‎Ignore files: add a section for getting a list of folders and files that are assume-unchanged
→‎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>