diff install.py @ 455:1172b8484c68

Add global `gitignore` file.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 13 Nov 2018 09:55:59 -0800
parents d5d49e678146
children 3b9394a0a58b
line wrap: on
line diff
--- a/install.py	Tue Nov 13 09:55:24 2018 -0800
+++ b/install.py	Tue Nov 13 09:55:59 2018 -0800
@@ -219,7 +219,9 @@
 def install_git():
     writelines('~/.gitconfig', [
         '[include]',
-        'path = %s' % _p('git/gitconfig', force_unix=True)
+        '  path = %s' % _p('git/gitconfig', force_unix=True),
+        '[core]',
+        '  excludesfile = %s' % _p('git/gitignore', force_unix=True)
     ])
     if is_windows:
         subprocess.check_call(