X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=gitconfig.in;h=99ffe299d42d532c77424d72a9f6f34c88eb985f;hb=f7001b4c41c16f44a06e5666c6d8b3c6ac269009;hp=11f725a0fcd8c0002f19e6d5c176e21316a4d44f;hpb=f346dd2a6e436deac96312c5f87883c673bce348;p=config%2Fdotfiles.git diff --git a/gitconfig.in b/gitconfig.in index 11f725a..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,7 +85,7 @@ rs = reset rsh = reset --hard rsp = reset --patch - # Only clean ignored files. + rv = revert cl = clean -ndx clf = clean -fdx ## Branches. @@ -96,6 +97,8 @@ re = rebase rei = rebase --interactive rec = rebase --continue + ## Submodules. + sm = submodule ## Remote. f = fetch t = tag @@ -194,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