att git identity alias + config
This commit is contained in:
parent
decbbf9b6e
commit
a3b39f5f70
1 changed files with 10 additions and 3 deletions
13
.gitconfig
13
.gitconfig
|
@ -4,9 +4,7 @@ editor = nvim
|
||||||
#pager = diff-so-fancy | less -+R -nBJFXRgiM -h512 -x4
|
#pager = diff-so-fancy | less -+R -nBJFXRgiM -h512 -x4
|
||||||
|
|
||||||
[user]
|
[user]
|
||||||
name = Daniel Lundin
|
useConfigOnly = true
|
||||||
email = daniel@arity.se
|
|
||||||
signingkey = 79020DB026385D4C
|
|
||||||
|
|
||||||
[column]
|
[column]
|
||||||
ui = auto
|
ui = auto
|
||||||
|
@ -61,6 +59,7 @@ kdiff3 = difftool -d -t kdiff3
|
||||||
guilt = "!f(){ git log --pretty='format:%an <%ae>' $@ | sort | uniq -c | sort -rn; }; f"
|
guilt = "!f(){ git log --pretty='format:%an <%ae>' $@ | sort | uniq -c | sort -rn; }; f"
|
||||||
scat = show $1:`git ls-files --full-name $2`
|
scat = show $1:`git ls-files --full-name $2`
|
||||||
serve = daemon --verbose --export-all --base-path=.git --reuseaddr --strict-paths .git/
|
serve = daemon --verbose --export-all --base-path=.git --reuseaddr --strict-paths .git/
|
||||||
|
identity = "! git config user.name \"$(git config user.$1.name)\"; git config user.email \"$(git config user.$1.email)\"; git config user.signingkey \"$(git config user.$1.signingkey)\"; :"
|
||||||
|
|
||||||
[merge]
|
[merge]
|
||||||
tool = meld
|
tool = meld
|
||||||
|
@ -148,3 +147,11 @@ diff-chunk = magenta default bold
|
||||||
helper = store
|
helper = store
|
||||||
[commit]
|
[commit]
|
||||||
gpgsign = true
|
gpgsign = true
|
||||||
|
[user "arity"]
|
||||||
|
name = Daniel Lundin
|
||||||
|
email = daniel@arity.se
|
||||||
|
signingkey = 79020DB026385D4C
|
||||||
|
[user "netent"]
|
||||||
|
name = Daniel Lundin
|
||||||
|
email = daniel.lundin@netent.com
|
||||||
|
signingkey = 18DB5948BBDB740A
|
||||||
|
|
Loading…
Reference in a new issue