This is my git status:
# On branch create-views-question
# Changes not staged for commit:
# (use "git add/rm <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# deleted: solr/data/development/index/_0.fdt
# deleted: solr/data/development/index/_0.fdx
# deleted: solr/data/development/index/_0.fnm
# deleted: solr/data/development/index/_0.frq
...
Currently, i used git rm to remove one by one file, is there another way so i can remove them same time?
In this case you could do
Note the
'marks to prevent shell expansion and instead pass the*directly to git.Here’s an example: