瀏覽代碼

Add global gitignore installation step

DricomDragon 5 年之前
父節點
當前提交
21586440c2
共有 1 個文件被更改,包括 4 次插入0 次删除
  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 ;