-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgitconfig
55 lines (47 loc) · 1.14 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
[user]
name = Mikey Hoy
email = [email protected]
[init]
defaultBranch = main
[merge]
conflictstyle = zdiff3
[rebase]
autosquash = true
[diff]
algorithm = histogram
[fetch]
prune = true
[alias]
s = status -sb
b = branch
ci = commit
co = checkout
di = diff --color-words
dc = diff --color-words --cached
cob = checkout -b
aa = add --all
amend-head = commit --amend -C HEAD
l = log --pretty=format:'%h %s'
ld = log --date=short --pretty=format:'%h %cd %s'
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
[color]
diff = auto
status = auto
branch = auto
[core]
excludesfile = "~/.dotfiles/gitignore"
editor = vi
[url "http://github.com/ghc/packages-"]
insteadOf = http://github.com/ghc/packages/
[url "https://github.com/ghc/packages-"]
insteadOf = https://github.com/ghc/packages/
[url "ssh://[email protected]/ghc/packages-"]
insteadOf = ssh://[email protected]/ghc/packages/
[url "[email protected]:ghc/packages-"]
insteadOf = [email protected]:ghc/packages/
[magit]
hideCampaign = true
[github]
user = mjhoy
[gitlab]
user = mjhoy