X-Git-Url: https://code.delx.au/dotfiles/blobdiff_plain/eead8cf34ba7d823663fe77f1303e1e60f01f3f9..071954e62880af01cdfb77742b7c0d269492ec08:/.gitconfig diff --git a/.gitconfig b/.gitconfig index 63fa854..c7644b8 100644 --- a/.gitconfig +++ b/.gitconfig @@ -1,34 +1,39 @@ [user] - name = James Bunton - email = jamesbunton@delx.net.au -[color] - ui = auto + name = James Bunton + email = jamesbunton@delx.net.au [core] - pager = less -+F -+X - editor = vim - excludesfile = /home/jbunton/.gitignore_global + pager = less -+F -+X + excludesfile = ~/.gitignore +[color] + ui = auto [log] - decorate = full + decorate = full + follow = true [diff] - renamelimit = 10000 - renames=copies + renamelimit = 10000 + renames = copies + context = 5 + algorithm = minimal [push] - default = upstream + default = upstream +[merge] + defaultToUpstream = true [alias] - graphlog = log --graph --pretty=format:'%C(bold black)%h%Creset %C(bold red)%ad %C(bold blue)%s%Creset %C(bold yellow)%d%Creset %C(bold black)<%an>%Creset' --date=short - ci = commit - co = checkout - st = status - di = diff - diw = diff --color-words - dic = diff --cached - dicw = diff --cached --color-words - ff = merge --ff-only - ffpull = pull --ff-only - lso = ls-files -X .gitignore -o - pushn = !git push origin --set-upstream "$(git rev-parse --abbrev-ref HEAD)":"$(git rev-parse --abbrev-ref HEAD)" - pushd = !git push origin --delete "$(git rev-parse --abbrev-ref HEAD)" - pushf = push --force-with-lease - cherry-pick = cherry-pick -x - branches-to-kill = !git branch --merged origin/master|grep -v master|xargs -n1 echo git branch -d - mergediff = !git checkout --quiet --detach HEAD && git merge --no-edit origin/master && git diff -C10 -M10 origin/master && git checkout --quiet - + graphlog = log --graph --pretty=format:'%C(bold black)%h%Creset %C(bold red)%ad %C(bold blue)%s%Creset %C(bold yellow)%d%Creset %C(bold black)<%an>%Creset' --date=short + ci = commit + co = checkout + st = status + di = diff + diw = diff --color-words + dic = diff --cached + dicw = diff --cached --color-words + ff = merge --ff-only + ffpull = pull --ff-only + lso = ls-files -X .gitignore -o + pushn = !git push origin --set-upstream "$(git rev-parse --abbrev-ref HEAD)":"$(git rev-parse --abbrev-ref HEAD)" + pushd = !git push origin --delete "$(git rev-parse --abbrev-ref HEAD)" + pushf = push --force-with-lease + cherry-pick = cherry-pick -x + branches-to-kill = !git branch --merged origin/master|grep -v master|xargs -n1 echo git branch -d + mergediff = !git checkout --quiet --detach HEAD && git merge --no-edit origin/master && git diff -C10 -M10 origin/master && git checkout --quiet - + expire-prune = !git reflog expire --expire=now --all && git gc --prune=now \ No newline at end of file