Answers for "git ignore global"

3

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, ...)
Posted by: Guest on April-04-2020
1

git global gitignore

touch ~/.gitignore
git config --global core.excludesfile ~/.gitignore
Posted by: Guest on May-28-2021
-1

set global git ignore

touch ~/.gitignore
git config --global core.excludesfile ~./gitignore
Posted by: Guest on August-25-2020
-2

git ignore global

# .gitignore global
# IntelliJ IDEA
.idea
*.iml
*.iws
.idea-compl
*.sc

# Mac
.DS_Store

# Clojure
.lein-repl-history
.lein-failures
completer.hist
.nrepl-port

# Scala
libsigar-universal64-macosx.dylib

# Custom
*.no-commit.*
Posted by: Guest on June-26-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language