git 1.7.12 I want to mark all files below a given directory as assume-unchanged. git update-index --assume-unchanged dir/ gives "Ignoring path." git update-index --assume-unchanged dir/* quickly fails because it will encounter files which are not being tracked, hence it gives "fatal: Unable to mark file" and quits. Try generating a list of files to mark. cd into the desired directory and then run
![git update-index --assume-unchanged on directory](https://cdn-ak-scissors.b.st-hatena.com/image/square/98d6f053a97a87156775f60757c60865d0f2c47d/height=288;version=1;width=512/https%3A%2F%2Fcdn.sstatic.net%2FSites%2Fstackoverflow%2FImg%2Fapple-touch-icon%402.png%3Fv%3D73d79a89bded)