-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
77 lines (62 loc) · 1.48 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
[user]
name = Jared McGuire
email = [email protected]
[github]
user = jrdmcgr
[color]
diff = true
ui = auto
[alias]
st = status
c = commit
cm = commit -m
br = branch
co = checkout
cb = checkout -b
df = diff
ds = diff --staged
lg = log --oneline --graph --decorate
ll = log --oneline --graph --decorate master..HEAD
p = pull --rebase
ch = cherry-pick
chc = cherry-pick --continue
su = submodule update --init --recursive
sd = submodule deinit -f .
ec = !vim ~/.gitconfig
weekly-report = log --author=Jared --oneline --no-merges --branches --since=1.week.ago
edit-modified = !subl $(git status --porcelain --ignore-submodules | awk '{print $2}')
undo = reset HEAD~1 --mixed
root = rev-parse --show-toplevel
unstage = reset HEAD
workprofile = config user.email "[email protected]"
stats = diff --stat master..HEAD
wtf = log --pretty=format:"%C(auto,yellow)%h%C(auto)%d%C(auto,reset)\\ by\\ %C(auto,blue)%cn%C(auto,reset),\\ %C(auto,cyan)%ar%C(auto,reset)%n\\ %s%n" --stat
tags = tag -n --sort='version:refname'
authors = !git log --format='%aN' | sort -u
[core]
editor = 'nvim'
pager = 'delta'
autocrlf = input
[http]
sslVerify = true
[push]
default = current
[rerere]
;enabled = true
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
[pull]
rebase = true
[init]
defaultBranch = main
[delta]
navigate = true
side-by-side = true
[interactive]
diffFilter = delta --color-only
[merge]
conflictStyle = diff3
[diff]
colorMoved = default