X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=gitconfig.in;h=99ffe299d42d532c77424d72a9f6f34c88eb985f;hb=f7001b4c41c16f44a06e5666c6d8b3c6ac269009;hp=a701c250b2953f50c4c38e73800776ab843351d4;hpb=818a192058faa7b69d1ec8d8b80bba3a7f57865d;p=config%2Fdotfiles.git diff --git a/gitconfig.in b/gitconfig.in index a701c25..99ffe29 100644 --- a/gitconfig.in +++ b/gitconfig.in @@ -73,6 +73,7 @@ dcw = diff --cached --color-words dcs = diff --cached --stat g = grep + gi = grep --ignore-case s = status l = log ls = log --stat @@ -84,17 +85,20 @@ rs = reset rsh = reset --hard rsp = reset --patch - # Only clean ignored files. + rv = revert cl = clean -ndx clf = clean -fdx ## Branches. co = checkout b = branch -a -v + br = branch m = merge mo = merge origin/master re = rebase rei = rebase --interactive rec = rebase --continue + ## Submodules. + sm = submodule ## Remote. f = fetch t = tag @@ -193,6 +197,8 @@ [log] # Display branches/tag names in log (same as log's --decorate option). decorate = short + # If a single file is given to `git log`, automatically use --follow. + follow = yes [merge] tool = vimdiff @@ -202,7 +208,8 @@ [push] # When running git push without a refspec push only the current - # branch, see man page git-config(1) for details. + # branch, see man page git-config(1) for details. Default since Git + # 2.0. default = simple [format] @@ -213,6 +220,6 @@ [transfer] # Automatically fsck objects when receiving them (respected by git # receive-pack and git fetch (>= 1.7.8, for fetch)). - fsckobjects = yes + fsckObjects = yes # vim: ft=gitconfig