Browse Source

Add global gitignore installation step

DricomDragon 5 years ago
parent
commit
21586440c2
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Install/git-custom

+ 4 - 0
Install/git-custom

@@ -8,6 +8,10 @@ git config --global user.name "DricomDragon" ;
 git config --global core.editor "vim" ;
 git config --global push.followTags true
 git config --global diff.tool vimdiff
+git config --global core.excludesfile '~/.gitignore'
+
+# Copy global gitignore
+cp ./Templates/gitignore ~/.gitignore
 
 # Create GitWork
 mkdir ~/GitWork ;