2013-06-09 16:08:54 +00:00
|
|
|
[user]
|
2017-02-25 07:02:54 +00:00
|
|
|
name = Nemo
|
2016-06-27 11:09:15 +00:00
|
|
|
email = me@captnemo.in
|
2020-12-20 16:25:02 +00:00
|
|
|
signingkey = 468F9102AB8BF8C959C2F9A4F94EA74A4EA9EB52
|
2016-10-12 09:00:33 +00:00
|
|
|
|
2013-06-09 16:08:54 +00:00
|
|
|
[github]
|
2016-06-27 11:09:15 +00:00
|
|
|
user = captn3m0
|
2016-10-12 09:00:33 +00:00
|
|
|
|
2013-06-09 16:08:54 +00:00
|
|
|
[alias]
|
2015-06-22 07:41:44 +00:00
|
|
|
rod = rebase origin/development
|
2015-07-09 10:46:55 +00:00
|
|
|
rom = rebase origin/master
|
2016-06-27 11:09:15 +00:00
|
|
|
rum = rebase upstream/master
|
2013-06-09 16:08:54 +00:00
|
|
|
pom = push origin master
|
2014-06-16 16:59:57 +00:00
|
|
|
pod = push origin development
|
2015-06-14 19:26:36 +00:00
|
|
|
pogh = push origin gh-pages
|
2015-06-22 07:41:44 +00:00
|
|
|
get = pull --rebase
|
2013-06-09 16:08:54 +00:00
|
|
|
pu = pull
|
|
|
|
po = push origin
|
2014-08-13 15:02:46 +00:00
|
|
|
fo = fetch origin
|
2013-06-09 16:08:54 +00:00
|
|
|
co = checkout
|
|
|
|
ci = commit
|
2016-10-12 09:00:33 +00:00
|
|
|
from = "! git fetch origin; git rebase origin/master"
|
2017-10-26 07:47:45 +00:00
|
|
|
frogh = "! git fetch origin; git rebase origin/gh-pages"
|
2016-12-21 11:47:50 +00:00
|
|
|
frum = "! git fetch upstream; git rebase upstream/master"
|
2017-12-28 03:59:02 +00:00
|
|
|
pushall = !git remote | xargs -L1 git push --all
|
2016-10-12 09:00:33 +00:00
|
|
|
|
2016-06-27 11:09:15 +00:00
|
|
|
[rerere]
|
|
|
|
enabled = true
|
2016-10-12 09:00:33 +00:00
|
|
|
|
2013-06-09 16:08:54 +00:00
|
|
|
[color]
|
2016-06-27 11:09:15 +00:00
|
|
|
branch = auto
|
|
|
|
diff = auto
|
|
|
|
status = auto
|
2018-03-27 18:40:33 +00:00
|
|
|
ui = true
|
2016-10-12 09:00:33 +00:00
|
|
|
|
2013-06-09 16:08:54 +00:00
|
|
|
[alias]
|
|
|
|
l50 = "!git log --abbrev-commit --date=short --pretty=format:'%x00%h%x00%cd%x00%s%x00%an%x00%d' | gawk -F '\\0' '{ printf \"%s\\033[31m%s\\033[0m \\033[32m%s\\033[0m %-50s \\033[30;1m%s\\033[0m\\033[33m%s\\n\", $1, $2, $3, gensub(/(.{49}).{2,}/, \"\\\\1…\",\"g\",$4), $5, $6 }' | less -R"
|
2014-09-17 17:07:05 +00:00
|
|
|
l80 = "!git log --abbrev-commit --date=short --pretty=format:'%x00%h%x00%cd%x00%s%x00%an%x00%d' | gawk -F '\\0' '{ printf \"%s\\033[31m%s\\033[0m \\033[32m%s\\033[0m %-80s \\033[30;1m%s\\033[0m\\033[33m%s\\n\", $1, $2, $3, gensub(/(.{79}).{2,}/, \"\\\\1…\",\"g\",$4), $5, $6 }' | less -R"
|
|
|
|
lg50 = "!git log --graph --color=always --abbrev-commit --date=relative --pretty=format:'%x00%h%x00%s%x00%cd%x00%an%x00%d' | gawk -F '\\0' '{ printf \"%s\\033[31m%s\\033[0m %-50s \\033[32m%14s\\033[0m \\033[30;1m%s\\033[0m\\033[33m%s\\n\", $1, $2, gensub(/(.{49}).{2,}/, \"\\\\1…\",\"g\",$3), $4, $5, $6 }' | less -R"
|
|
|
|
lg80 = "!git log --graph --color=always --abbrev-commit --date=relative --pretty=format:'%x00%h%x00%s%x00%cd%x00%an%x00%d' | gawk -F '\\0' '{ printf \"%s\\033[31m%s\\033[0m %-80s \\033[32m%14s\\033[0m \\033[30;1m%s\\033[0m\\033[33m%s\\n\", $1, $2, gensub(/(.{79}).{2,}/, \"\\\\1…\",\"g\",$3), $4, $5, $6 }' | less -R"
|
|
|
|
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset %C(blue)(%an <%ae>)%Creset' --abbrev-commit --date=relative
|
2019-02-10 06:36:48 +00:00
|
|
|
hooks = !~/.githooks/bin/githooks
|
2013-06-09 16:08:54 +00:00
|
|
|
[help]
|
2016-06-27 11:09:15 +00:00
|
|
|
autocorrect = 10
|
2016-10-12 09:00:33 +00:00
|
|
|
|
2015-06-14 19:26:36 +00:00
|
|
|
[push]
|
2016-06-27 11:09:15 +00:00
|
|
|
default = current
|
2016-10-12 09:00:33 +00:00
|
|
|
|
2016-06-27 11:09:15 +00:00
|
|
|
[color "diff-highlight"]
|
2018-03-27 18:40:33 +00:00
|
|
|
oldNormal = red bold
|
|
|
|
oldHighlight = red bold 52
|
|
|
|
newNormal = green bold
|
|
|
|
newHighlight = green bold 22
|
2016-10-12 09:00:33 +00:00
|
|
|
|
2016-06-27 11:09:15 +00:00
|
|
|
[core]
|
|
|
|
# https://github.com/so-fancy/diff-so-fancy
|
2018-03-27 18:40:33 +00:00
|
|
|
pager = diff-so-fancy | less --tabs=4 -RFX
|
2016-12-21 11:47:50 +00:00
|
|
|
preloadindex = true
|
2019-09-14 21:37:44 +00:00
|
|
|
quotepath = false
|
2017-10-26 06:30:41 +00:00
|
|
|
|
2017-12-28 03:59:02 +00:00
|
|
|
[credential]
|
2021-04-20 12:27:54 +00:00
|
|
|
helper = /usr/bin/pass-git-helper
|
2018-03-27 18:40:33 +00:00
|
|
|
[color "diff"]
|
|
|
|
meta = yellow
|
|
|
|
frag = magenta bold
|
|
|
|
commit = yellow bold
|
|
|
|
old = red bold
|
|
|
|
new = green bold
|
|
|
|
whitespace = red reverse
|
|
|
|
[diff-so-fancy]
|
|
|
|
useUnicodeRuler = false
|
2019-02-10 06:36:48 +00:00
|
|
|
[init]
|
2021-01-18 12:58:46 +00:00
|
|
|
defaultBranch = main
|