Mercurial > dotfiles
changeset 455:1172b8484c68
Add global `gitignore` file.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 13 Nov 2018 09:55:59 -0800 |
parents | 54bdd1f0f873 |
children | a9fb8c05f030 |
files | install.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
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(