This answer shows you how to mark a file that is managed by git as "I don't want changes from the repo for this file" - IE to have your own local untracked version of that file, even though it remains under revision control by git in the remotes.
The question is "How can I tell which files have been marked this way?" ... a good thing to be able to check, if you are using this feature!
Note: mentioned in comments below, skip-worktree
is probably a better tool for the job than assume-unchanged
. Nonetheless, this question documents how to find assume-unchanged
files.
c
if the file is changed, for example (as opposed toC
),m
if the file has a merge pending (as opposed toM
) etc. The unchanged assumption is marked by lowercase, but not necessarily a lowercaseh
. See-t
and-v
options ingit help ls-files
.grep ^[a-z]
is much more appropriate. – Les