linux removing directory code example
Example 1: git remove directory from tracking
Remove the folder from your local git tracking, but keep it on your disk.
git rm -r --cached path_to_your_folder/
Example 2: ubuntu delete contents of folder
To remove all non-hidden files and sub-directories (along with all of their contents) in a
directory use:
rm -r /path/to/directory/*