-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
57 lines (45 loc) · 1.24 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
[user]
# name = Will Sheppard
# email = [email protected]
# Personal github ^
# Note: Don't define name/email globally, only per-repo.
# Note: To fix commit author
# git rebase -i HEAD~1
# s/^pick/e
# git commit --amend --reset-author
[core]
editor = /usr/bin/vim
# make colours get escaped properly
pager = less
autocrlf = input
[alias]
co = checkout
st = status
logg = log --color --stat=200,200 --decorate --abbrev-commit --relative
tree = log --oneline --graph --color
treed = log --oneline --graph --color --decorate
[diff]
# don't show a/ and b/ at the beginning of filepaths in diffs
noprefix = true
[push]
# Push to @{upstream} unless the name is different. See http://git-scm.com/docs/git-config
# old versions
#default = current
# newer versions
default = upstream
autoSetupRemote = true
[branch]
# # Rebase upon pull for all branches
# autosetuprebase = always
# rebase = true
[branch "master"]
# # Rebase upon pull for all master
# rebase = true
[rerere]
# Remember recorded resolutions
enabled = 1
[merge]
conflictstyle = diff3
ff = false
[credential]
helper = cache --timeout=2678400 # 31 days