2019-03-01 08:17:42 +00:00
|
|
|
[user]
|
|
|
|
name = Morgan Wattiez
|
|
|
|
email = morgan.wattiez@collibra.com
|
2019-03-01 21:17:53 +00:00
|
|
|
|
|
|
|
[alias]
|
|
|
|
tags = log --no-walk --tags --pretty=\"%h %d %s\" --decorate=full
|
|
|
|
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
|
|
|
|
st = status
|
|
|
|
contrib = ! git log --pretty=format:'%aN' | sort | uniq -c | sort -nr
|
|
|
|
whois = ! sh -c 'git log -i --pretty=\"format:%an <%ae>\" --author=\"\" | sort -u' -
|
|
|
|
di = diff -w --color-words=.
|
|
|
|
ac = ! git add . && git commit -v
|
|
|
|
unstage = reset HEAD
|
|
|
|
ru = clean -f
|
|
|
|
b = branch -vvar
|
|
|
|
follow = ! sh -c 'git checkout -t origin/$1' -
|
|
|
|
unfollow = ! git checkout master && git branch -d
|
|
|
|
sortdiff = ! sh -c 'git diff | grep ^[+-] | sort --key=1.2 | uniq -u -s1'
|
|
|
|
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
|
|
|
|
type = cat-file -t
|
|
|
|
dump = cat-file -p
|
2019-07-22 18:27:42 +00:00
|
|
|
times = "!git log --author=\"$(git config user.name)\" \
|
|
|
|
--date=iso \
|
|
|
|
--format=\"%ad\" \
|
|
|
|
--date=\"format:%H\" \
|
|
|
|
| awk '{n=$1+0;if(H[n]++>max)max=H[n]}END{for(i=0;i<24;i++){printf\"%02d -%5d \",i,H[i];for(n=0;n<H[i]/max*50;n++){printf \"*\"}print\"\"}}'"
|
2019-08-06 09:23:06 +00:00
|
|
|
[help]
|
|
|
|
autocorrect = -1 # not more git psuh
|
2019-08-16 22:15:27 +00:00
|
|
|
[core]
|
|
|
|
pager = diff-so-fancy | less --tabs=4 -RFX
|
2019-10-10 11:13:30 +00:00
|
|
|
[diff]
|
|
|
|
noprefix = true
|