-
Notifications
You must be signed in to change notification settings - Fork 2
/
gitconfig
37 lines (34 loc) · 835 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
[color]
diff = auto
status = auto
branch = auto
[color "diff"]
meta = yellow
[alias]
st = status
cm = commit -m
cam = commit -am
br = branch
co = checkout
nb = checkout -b
fpush = push origin -u HEAD
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr - %cn)%Creset' --abbrev-commit --date=relative
sub = submodule update
unstage = reset HEAD
uncommit = reset --soft HEAD~1
[branch]
autosetupmerge = true
autosetuprebase = always
[core]
whitespace = trailing-space,space-before-tab
filemode = false
autocrlf = input
editor = emacs
[rerere]
enabled = 1
[push]
default = tracking
[diff]
mnemonicprefix = true
[merge]
stat = true