From 9adbdacd06923394f62d2ef5e01266910fd399d6 Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Mon, 25 Apr 2011 09:55:01 +0200 Subject: [PATCH] git config update from workstation --- .gitconfig | 3 +++ .gitignore | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 .gitignore diff --git a/.gitconfig b/.gitconfig index e405ab1..4043995 100644 --- a/.gitconfig +++ b/.gitconfig @@ -15,3 +15,6 @@ lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative graphviz = "!f() { echo 'digraph git {' ; git log --pretty='format: %h -> { %p }' \"$@\" | sed 's/[0-9a-f][0-9a-f]*/\"&\"/g' ; echo '}'; }; f" r = remote -v show + w = whatchanged +# from progit.org + searchcommits = "!f() { query=\"$1\"; shift; git whatchanged -S\"$query\" \"$@\"; }; f \"$@\"" diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9f7a8be --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*~ +*.swp +.~lock.*# +.backup/