2. Creating Snapshots - 8. Removing Files -rm

I am using Windows 10 for this course. Whenever I enter ‘rm’ into the command prompt it pops up:

‘rm’ is not recognized as an internal or external command,
operable program or batch file.

What is the correct command?

I figured it out. The command should be git rm file2.txt

In the video it is just rm but Windows requires you to say git before the rm.

That’s probably for git bash. On MacOS and Linux/Unix OS you can just use rm.