The git documentation says that git rm command is to remove a file from the working directory and from the staged files.
I see that on doing rm some-file.txt
, the file gets removed from the working directory. And on doing git add some-file.txt
I can achieve the same results.
So, is git rm
a convenience command?
Thanks :)