Not every file created or updated in your code should be committed to Git. Temporary files from your development environment, test outputs, and logs are all examples of files that you create but ...
-r stands for 'recursively', meaning recursively remove every file within the specified directory. Use the first command when you want to untrack individual files or when you are certain a directory ...