-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
61 lines (56 loc) · 1.09 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
[user]
name = Jonas Hietala
email = [email protected]
signingkey = AE6E589C
[alias]
# Stuff mostly taken from
# http://www.metacircus.com/hacking/2011/02/18/play-git-like-a-violin.html
# Commits
c = commit
cm = commit -m
cam = commit -a -m
# Amend to previous commit
ca = commit --amend
caa = commit -a --amend
# Resets
# Soft
r = reset
r1 = reset HEAD^
r2 = reset HEAD^^
# Hard
rh = reset --hard
rh1 = reset HEAD^ --hard
rh2 = reset HEAD^^ --hard
# Common shortcuts
s = status
d = diff
a = add
co = checkout
b = branch
l = "!pretty_git_log"
f = fetch
p = push
pu = pull
sw = switch
re = restore
[core]
pager = less -r
excludesfile = *.swp
[push]
default = simple
autoSetupRemote = true
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
[pull]
rebase = false
[merge]
renamelimit = 3000
; [commit]
; gpgSign = true
[gpg]
program = gpg2
[init]
defaultBranch = master