-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
45 lines (39 loc) · 1.39 KB
/
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[core]
excludesfile = ~/.gitignore
editor = vim
[alias]
unstage = reset HEAD --
co = checkout
br = branch
st = status
ci = commit
a = add
# show info about the last commit
last = log -1 HEAD
purr = pull --rebase
s = status -sb
standup = log --since=yesterday
ready = rebase -i
diff2 = diff --word-diff
show2 = show --word-diff
lol = log --color --graph --decorate --pretty=oneline --abbrev-commit --all
lol2 = log --color --graph --decorate --pretty=format:'%C(bold yellow)%h%Creset%C(auto)%d%Creset %s %Cgreen(%ci, %cr) %C(bold blue)<%an, %ae>%Creset' --abbrev-commit --all
lol3 = !git log --pretty=format:'%Cred---------------------------------------------------------------%n%C(bold yellow)%h %C(auto)%d %Cgreen(%ci, %cr) %C(bold blue)<%an, %ae>%Creset%n%s%n%n%b%n' --abbrev-commit --date=relative --graph --date-order --stat --color | less -cR
lol4 = log --color --graph --pretty=format:'%C(bold yellow)%h%Creset%C(auto)%d%Creset %s %Cgreen(%ci, %cr) %C(bold blue)<%an, %ae>%Creset' --abbrev-commit -p
[color]
branch = auto
diff = auto
status = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan