How do I disable a directory?
3 answers
The shorted command should be
rm -Rf .git*
EDIT:
You should only delete the folder .git
. Your home .gitignore
file is used by git to automatically ignore files. For example ... instead of putting a .idea file (editor text file) throughout your project, you can just add it once to your global gitignore.
Tecnically
rm -Rf .git*
delete that .gitignore file as well.
+2
source to share