-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
83 lines (78 loc) · 1.98 KB
/
.gitconfig
File metadata and controls
83 lines (78 loc) · 1.98 KB
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
78
79
80
81
82
83
[diff]
renameLimit = 1000
[color]
ui = auto
[alias]
st = status
ci = commit
co = checkout
di = diff
dc = diff --cached
amend = commit --amend
aa = add --all
ap = add -p
ff = merge --ff-only
pullff = pull --ff-only
noff = merge --no-ff
fa = fetch --all
fp = fetch --all -p
pom = push origin master
po = push --set-upstream origin
b = branch
ds = diff --stat=160,120
dh1 = diff HEAD~1
branches = for-each-ref --sort=-committerdate --format=\"%(color:blue)%(authordate:relative)\t%(color:red)%(authorname)\t%(color:white)%(color:bold)%(refname:short)\" refs/remotes
undo-last = reset --soft HEAD~1
# Divergence (commits we added and commits remote added)
div = divergence
# Goodness (summary of diff lines added/removed/total)
gn = goodness
gnc = goodness --cached
# Fancy logging.
# h = head
# hp = head with patch
# r = recent commits, only current branch
# ra = recent commits, all reachable refs
# l = all commits, only current branch
# la = all commits, all reachable refs
head = !git l -1
h = !git head
hp = "!source ~/.githelpers && show_git_head"
r = !git l -2000
ra = !git r --all
l = "!source ~/.githelpers && pretty_git_log"
la = !git l --all
lg = log --color --graph --pretty=format:'%C(yellow)%h%Creset %Cgreen(%cr)%C(bold blue) <%an> %Creset %C(red)%d%Creset %s' --abbrev-commit
bd = branch -d
[merge]
tool = vimdiff
[push]
default = simple
autoSetupRemote = true
[include]
path = ~/.gitconfig.local
[core]
excludesfile = ~/.gitignore
[credential]
helper = osxkeychain
[magit]
hideCampaign = true
[init]
defaultBranch = main
[user]
name = Kevin Pratt
email = kevin@paradem.co
signingkey = /home/kevin/.ssh/id_rsa.pub
[gpg]
format = ssh
[commit]
gpgsign = true
[gpg "ssh"]
allowedSignersFile = /Users/kevin/.ssh/allowed_signers
[fetch]
prune = true
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f