-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
39 lines (33 loc) · 853 Bytes
/
.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
[core]
editor = vim
[user]
# Please adapt and uncomment the following lines:
name = J. M. F. Tsang
email = j.m.f.tsang@cantab.net
[init]
defaultBranch = main
[log]
decorate = full
[alias]
praise = blame
an = annotate
who = annotate
lg = log --graph --oneline --decorate --all
lgs = lg --stat
logg = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
in = status
ss = status
st = status --short --branch
sh = show --oneline --stat
df = diff --stat
br = branch -vva
co = checkout
[diff]
tool = vimdiff
mergetool = vimdiff
# [core]
# autocrlf = true
[core]
whitespace = cr-at-eol
[pull]
ff = only