git 1.7.12 I want to mark all files below a given directory as assume-unchanged. 1) 2) 3) Try generating a list of files to mark. No, it is not sufficient for me to add |
||||
add a comment
|
or
Although, with either case, file names with spaces will be problematic. If you have those, you can use this:
Edit: incorporated input from @MatthewScharley regarding |
||||
The This command will get git to assume all files in and under the listed directory are unchanged:
Find takes every argument after Using Not sure about other implementations of the |
|||
Yeap,
works with files only, not with directories. I think, one of faster ways:
|
|||||
|
tr ' ' ' '
case (in which case it is needed)... – twalberg May 9 '13 at 14:01git ls-files -z
– Matthew Scharley Jul 22 '13 at 1:35