changeset 124:c3320f06d412

Add a minimal global gitignore We could add more, but this is intended for things that only I need to ignore (such as build directories that other people might do differently) rather than stuff that everyone wants to do (like ignoring .pyc files or log files in the project)
author IBBoard <dev@ibboard.co.uk>
date Wed, 13 Mar 2019 19:19:50 +0000
parents 513dbd770bef
children 1320f85d46d2
files gitconfig gitignore setup.sh
diffstat 3 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gitconfig	Wed Dec 26 19:40:46 2018 +0000
+++ b/gitconfig	Wed Mar 13 19:19:50 2019 +0000
@@ -1,6 +1,8 @@
 [user]
 	name = IBBoard
 	email = dev@ibboard.co.uk
+[core]
+	excludesfile = ~/.gitignore
 [branch]
 	autosetupmerge = true
 [diff]
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gitignore	Wed Mar 13 19:19:50 2019 +0000
@@ -0,0 +1,1 @@
+build/
\ No newline at end of file
--- a/setup.sh	Wed Dec 26 19:40:46 2018 +0000
+++ b/setup.sh	Wed Mar 13 19:19:50 2019 +0000
@@ -37,6 +37,7 @@
 create_symlink inputrc ~/.inputrc
 create_symlink /usr/lib/python*/site-packages/hgext/hgview.py ~/.hgview.py
 create_symlink gitconfig ~/.gitconfig
+create_symlink gitignore ~/.gitignore
 create_symlink dircolors ~/.dir_colors
 create_symlink nanorc ~/.nanorc
 create_symlink nanorc.d ~/.nanorc.d