If I delete some files from the disk they come up as deleted like so:
C:\git\bc>git status
# On branch tracking2
# Changed but not updated:
# (use "git add/rm <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# deleted: test.txt
#
Is there a way to do a one command "just delete these files from the repository"? Sort of similarly to git add .
which would add all new and modified files.
EDIT I use Visual Studio and Windows explorer to work with my source tree and at some point I just delete a whole bunch of files. I then find it a pain to call git rm
as the files are no longer around and there is no command line intellisense to help me type it in. So I want a command that just deletes all files from git that are deleted from the disk.