From 71aaa67ddc10eff964c48ed992a69b6d156b5c8f Mon Sep 17 00:00:00 2001 From: Aidan Coyle Date: Sun, 31 May 2020 20:40:53 +0000 Subject: [PATCH] Add git config --- gitconfig | 5 +++++ gitignore | 4 ++++ install.sh | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 gitconfig create mode 100644 gitignore diff --git a/gitconfig b/gitconfig new file mode 100644 index 0000000..782e8f6 --- /dev/null +++ b/gitconfig @@ -0,0 +1,5 @@ +[user] + name = Aidan Coyle + email = packrat386@gmail.com +[core] + excludesfile = ~/.gitignore \ No newline at end of file diff --git a/gitignore b/gitignore new file mode 100644 index 0000000..6ab43b1 --- /dev/null +++ b/gitignore @@ -0,0 +1,4 @@ +# ignore emacs autosave stuff +*~ +\#*\# +.\#* \ No newline at end of file diff --git a/install.sh b/install.sh index a4530ad..4c88d96 100644 --- a/install.sh +++ b/install.sh @@ -3,7 +3,7 @@ ## VARS ## dir=~/dotfiles olddir=~/dotfiles_old -files="emacs emacs.d bashrc bash_profile" +files="emacs emacs.d bashrc bash_profile gitconfig gitignore" echo "Creating dir to save old files" mkdir -p $olddir