-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgit.aliases.gitconfig
24 lines (20 loc) · 1.5 KB
/
git.aliases.gitconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[alias]
st = status
lg = log -50 --oneline --graph --decorate --all
slg = log -50 --oneline --graph --decorate --all --simplify-by-decoration
lgme = log -50 --oneline --graph --decorate
llg = log --oneline --graph --decorate --all
mt = merge --squash -s recursive -X theirs
hash = log -1 --pretty=tformat:%H
visual = !gitk --all --simplify-by-decoration
# dag = log --graph --format='format:%C(yellow)%h%C(reset) %C(blue)\"%an\" <%ae>%C(reset) %C(magenta)%cr%C(reset)%C(auto)%d%C(reset)%n%s' --date-order
# dag = log --graph --format='format:%C(yellow)%h%C(reset) %<|(80,trunc)%s %m %C(cyan)%aN%C(reset) %C(magenta) %cr %C(reset) %C(auto) %d%C(reset)' --graph --all
# dag = log --graph --format='format:%C(yellow)%h%C(reset) %C(cyan)%aN%C(reset)%C(magenta)%cr%C(reset)%C(auto)%d%C(reset)%<|(200,trunc)%s' --graph --all
dag = log --graph --format='format:%C(yellow)%h%C(reset) %C(auto)%d %C(reset)%<|(200,trunc)%s%C(cyan)%aN%C(reset) %C(magenta)%cr%C(reset) %C(white)%ci%C(reset)' --graph --all
yy = config --local user.email "[email protected]"
forresty = config --local user.email "[email protected]"
yykey = config --local user.signingkey 807C28C21C02FDF8
fykey = config --local user.signingkey 3F838375F644936F
keys = !echo "user.signingkey = [ 807C28C21C02FDF8 3F838375F644936F ] OR git commit [ -S807C28C21C02FDF8 -S3F838375F644936F ]"
# a demo
echo = "!f() { /bin/echo $@; }; f"