-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
56 lines (56 loc) · 1.38 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
45
46
47
48
49
50
51
52
53
54
55
56
[init]
defaultBranch = main
[user]
name = Francesco Negri
[includeIf "gitdir:~/wmf/"]
path = ~/wmf/gitconfig
[core]
excludesfile = ~/.gitignore_global
quotepath = false
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
[color]
status = auto
branch = auto
diff = auto
interactive = auto
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow
frag = magenta bold
old = red
new = green
whitespace = red reverse
[color "status"]
added = yellow
changed = green
untracked = cyan
[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
dc = diff --cached
lg = log -p
lol = log --graph --decorate --pretty=oneline --date-order --abbrev-commit
lola = log --graph --decorate --pretty=oneline --date-order --abbrev-commit --all
glog = log --graph --submodule --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'
llog = log --graph --pretty=format:\"%C(auto)%h%d%Creset %C(cyan)(%cr)%Creset %C(green)%cn <%ce>%Creset %s\" --all
ls = ls-files
# Show files ignored by git:
ign = status --ignored
[push]
default = upstream
[pull]
ff = only
[sendemail]
smtpserver = smtp.googlemail.com
smtpencryption = tls
smtpserverport = 587
suppresscc = self