30favorite
16 |
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
|
|||||||||||||||||||||
activeoldestvotes
|
||||||||||||||||||||||
|
answered Aug 7 ’13 at 18:56user2661977 9111 |
41419
|
Instead of using cd , you can pass the dir as a final argument: git ls-files -- $DIR | xargs -l git update-index --assume-unchanged -- $DIR . – kzh Mar 3 at 20:10 |