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/