How do I easily remove several files without manually typing the full paths of all of them to git rm
? I have plenty of modified files I\'d like to keep so remov
On Windows 10, using Git Bash, from the .gitignore
location in your file structure.
git rm -r --cached some_directory/
I just used this to ignore a whole directory, recursively.
This is what is in my .gitignore
file for this:
# Use .gitignore to ignore a directory and its contents #
/some_directory/