From 4899047c5a7ab883108486bf76bd8c2a84a20cc3 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 27 Jun 2014 15:50:09 +0200 Subject: [PATCH] new: [base-0k] added a default gitignore file. --- precise/base-0k/hooks/install | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/precise/base-0k/hooks/install b/precise/base-0k/hooks/install index 5dc3eee..adb3879 100755 --- a/precise/base-0k/hooks/install +++ b/precise/base-0k/hooks/install @@ -32,7 +32,8 @@ etckeeper init ## Git utilities ## -echo "[alias] +cat < /etc/gitconfig +[alias] co = checkout com = commit st = status @@ -44,9 +45,32 @@ echo "[alias] interactive = auto status = auto -" >> /etc/gitconfig +[core] + whitespace = fix + excludesfile = /etc/gitignore +EOF + +cat < /etc/gitignore +docs/build/* +develop-eggs/* +*.pyc +*.o +.installed.cfg +eggs/* +*.egg-info/* +*.orig +dist/* +build/* +buildout.dev.cfg +*~ +*# +.#* +*.swp +*_flymake.* +.svn +EOF ## ## ldap client