Removing a file template with git -update-index --remove

How to provide a file template rather to a specific file in the git-update-index --remove ?

+6
git
source share
2 answers

Something like

 git update-index --remove -- $(git ls-files '*.c') 
+9
source share
 # for i in pattern; do git-update-index --remove $i; done 

Does something like this really serve your purpose? (I have never worked with git -update-index.)

0
source share

All Articles