I would like to use the assume command in order to chain it 5 times.
[alias]
assume = update-index --assume-unchanged
unassume = update-index --no-assume-unchanged
assumeall = "!git ls-files ../.idea/misc.xml | xargs git assume"
unassumeall = "!git assumed | xargs git update-index --no-assume-unchanged"
but when running i get this error:
fatal: '../.idea/misc.xml' is outside repository
The assume, unassume, unassumeall work just fine.
try
[alias] assumeall = "!git ls-files $(git rev-parse --show-toplevel)/.idea/misc.xml | xargs git assume"