Why use ‘git rm’ to remove a file instead of ‘rm’?

On SVN, removing something from the filesystem directly (rather than using svn) created a load of headaches.

I haven’t found this to be an issue when using git, but I notice that git has it’s own rm implementation (git rm).

What is the difference between rm and git rm?

8 Answers
8

Leave a Comment