-
Notifications
You must be signed in to change notification settings - Fork 2
/
gitconfig
31 lines (31 loc) · 996 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
[user]
name = John C
[url "https://"]
insteadOf = git://
[url "[email protected]:"]
pushInsteadOf = https://github.com/
[url "[email protected]:"]
pushInsteadOf = https://gitlab.com/
[push]
default = simple
[alias]
ca = commit --amend
co = checkout
contrib = shortlog -sn --no-merges
d = diff --find-copies
dh = diff --find-copies HEAD
ds = diff --find-copies --staged
dt = diff --find-copies --stat
dw = diff --find-copies --word-diff
dmc = diff --name-only --diff-filter=U --relative
l = log --graph --decorate --oneline --max-count=16
lg = log --graph --pretty=format:'%C(cyan)%h%C(bold cyan)%d%Creset %s %C(dim white)(%cr)%Creset by %C(yellow)%an%Creset'
lt = log --graph --decorate --oneline --stat --max-count=4
pf = push --force
[credential "https://github.com"]
username = johncf
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true