-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
56 lines (44 loc) · 904 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[user]
email = user@user.com
name = user
[core]
editor = code --wait
pager = less -F
[fetch]
prune = true
[log]
date = format:%d/%m/%Y %H:%M
abbrevCommit = true
[push]
autoSetupRemote = true
[branch]
autoSetupRebase = always
[rerere]
enabled = true
autoupdate = false
[submodule]
recurse = true
[help]
autoCorrect = prompt
[gc]
rerereUnresolved = 21
rerereResolved = 21
[alias]
back = reset HEAD~1
initrerere = rerere forget .
l = log --oneline --graph --decorate --pretty=format:'%C(yellow)%h%Creset -%C(auto)%d%Creset %C(auto)%s%Creset %C(white dim)%an %ad%Creset'
s = status --short --branch
st = status
search = l --all --grep
squash = "!f() { \
git reset --soft HEAD~${1}; \
git commit --amend --no-edit; \
}; f"
[color "branch"]
current = green reverse
local = green
remote = yellow
[color "status"]
added = green bold
changed = yellow
untracked = cyan