-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
45 lines (45 loc) · 1.16 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
[user]
name = Chris Ewald
email = [email protected]
[color]
ui = true
[core]
excludesfile = ~/.gitignore
autocrlf = true
[alias]
s = status
st = status
co = checkout
ci = commit
empty = commit --allow-empty
ff = merge --ff-only
d = diff
b = branch
vr = remote -v
branch-name = rev-parse --abbrev-ref HEAD
pub = !git push -u origin $(git branch-name)
lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
lg2 = 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
lg = !"git lg1"
[merge]
autostash = true
branchdesc = true
ff = false
[pull]
ff = only
[push]
default = simple
[status]
showUntrackedFiles = normal
[github]
user = mkcode
[filter "lfs"]
clean = git lfs clean %f
smudge = git lfs smudge %f
required = true
[credential]
helper = osxkeychain
[rebase]
autoStash = true
[rerere]
enabled = true