-
Notifications
You must be signed in to change notification settings - Fork 12
/
gitconfig.sample
33 lines (33 loc) · 897 Bytes
/
gitconfig.sample
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
[alias]
s = "status -sb"
l = log --graph --all --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --date=relative
gl = log --oneline --decorate --stat --graph
co = checkout
cot = checkout --track
sf = submodule foreach
c = "!git log --oneline | wc -l "
ignored = "!git ls-files --others -i --exclude-standard --directory"
pushsub = submodule foreach "git push origin master"
pullsub = submodule foreach "git pull origin master"
[user]
name = You Name
email = [email protected]
[core]
legacyheaders = false
excludesfile = ~/.gitexclude
whitespace = trailing-space,space-before-tab
quotepath = false
autocrlf = false
safecrlf = true
editor = "nvim"
[color]
ui = auto
[branch]
autosetupmerge = true
[advice]
pushNonFastForward = false
statusHints = false
[push]
default = tracking
[rerere]
enabled = true