Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git global ignore

#Create your global ignore file like a normal .gitignore
#in your home folder.
git config --global core.excludesfile /path/to/home/.gitignore
#Your git now exclude any file declared in that .gitignore
#It's useful for hide your IDE's folder (.idea, .vscode, ...)
Source by sebastiandedeyne.com #
 
PREVIOUS NEXT
Tagged: #git #global #ignore
ADD COMMENT
Topic
Name
2+6 =