[user] name = Maxim Lihachev email = envrm@yandex.ru [core] pager = "less -R -X --ignore-case -w --jump-target=.5" editor=vim excludesfile = ~/.shellrc/etc/soft/git/gitignore-global [gui] wmstate = normal geometry = 1278x971+1+22 212 188 [color] ui = true [merge] tool = vimdiff [help] autocorrect = 1 [credential] helper = cache --timeout=3600 [alias] ci = commit cm = commit -m cr = commit --amend cv = commit --verbose recommit = commit --amend df = diff br = branch st = status p = pull u = push lf = log --source --graph --stat --date=iso --pretty=medium --decorate=full ls = log --graph --pretty=format:'%Cred%h%Creset - %Cgreen[%cd]%Creset ::%C(yellow)%d%Creset %s %C(bold blue)%Creset' --abbrev-commit --date=short ll = !git --no-pager log -1 HEAD && echo lu = !git --no-pager log --left-right --pretty=format:'%C(yellow)%h%Creset - %Cgreen[%cd]%Creset :: %s %C(bold blue)%Creset' --abbrev-commit --graph --color --date=short origin/master...HEAD | nl alias = !sh -c '[ ! -z $2 ] && git config --global alias.\"$1\" \"$2\" && exit 0 || echo \"usage: git alias \" >&2 && exit 1' - aliases = !git config --get-regexp 'alias.*' | sed 's/alias.//' | sed 's/ / = /' # This produces output that can be displayed using dotty, for example: # $ git graphviz HEAD~100..HEAD~60 | dotty /dev/stdin # $ git graphviz --first-parent master | dotty /dev/stdin # Note how defining a function eliminates the need to use sh -c. graphviz = "!f() { echo 'digraph git {' ; git log --pretty='format: %h -> { %p }' \"$@\" | sed 's/[0-9a-f][0-9a-f]*/\"&\"/g' ; echo '\n}'; }; f" # http://gitboard.net board = !gitboard 2>&- hub = !git remote -v | grep fetch | grep -o 'https.* ' | xargs xdg-open pk = !git archive HEAD --format=zip > `basename $PWD`_`\\date '+%Y.%M.%d'`.zip [push] default = simple