aboutsummaryrefslogtreecommitdiff
path: root/files/.gitconfig
diff options
context:
space:
mode:
authorAnton Bobov <bobov_a@sibsac.ru>2011-10-13 11:17:19 +0600
committerAnton Bobov <bobov_a@sibsac.ru>2011-10-13 11:17:19 +0600
commitda709cd9e90c3ab644bb92700f0ed40d965b80d3 (patch)
tree144e5470327f72b8489141cd7595b652c6c32616 /files/.gitconfig
Initial commit.
Diffstat (limited to 'files/.gitconfig')
-rwxr-xr-xfiles/.gitconfig24
1 files changed, 24 insertions, 0 deletions
diff --git a/files/.gitconfig b/files/.gitconfig
new file mode 100755
index 0000000..f7cf19a
--- /dev/null
+++ b/files/.gitconfig
@@ -0,0 +1,24 @@
+[user]
+ name = Anton Bobov
+ email = bobov_a@sibsac.ru
+[color]
+ ui = true
+[diff]
+ tool = vimdiff
+[difftool]
+ prompt = false
+[merge]
+ tool = vimdiff
+ stat = true
+[core]
+ pager = less -+$LESS -FRX
+[alias]
+ diffstat = diff --stat -r
+ co = checkout
+ lg = log --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
+ st = status
+ k = !sh -c 'gitk $1' -
+ ka = !sh -c 'gitk --all' -
+ kb = !sh -c 'gitk --branches' -
+ fix = commit --amend -C HEAD
+ integrate = !sh -c 'git rebase master $1 && git checkout master && git merge --ff $1' -