gitignore - Recursive git update-index --assume-unchanged -
i'm trying run following:
git update-index --assume-unchanged myfoldertoignore
where myfoldertoignore
folder. fails saying "unable mark" it.
so tried:
git update-index --assume-unchanged myfoldertoignore/
which git responds ignoring path myfoldertoignore/
doesn't (it still sees changes , tries check them in).
in end had go in , manually mark each individual file unchanged. missing here?
update-index
internal plumbing command , not comfortable real front-end commands. have handle recursion bit yourself:
git ls-files -z myfoldertoignore/ | xargs -0 git update-index --assume-unchanged
Comments
Post a Comment