-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
73 lines (73 loc) · 1.79 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
62
63
64
65
66
67
68
69
70
71
72
73
[advice]
statusHints = false
[alias]
l = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
pf = push --force-with-lease
fixup = !sh -c 'REV=$(git rev-parse $1) && git commit --fixup $@ && git rebase -i --autosquash $REV^' -
squash = !sh -c 'REV=$(git rev-parse $1) && git commit --squash $@ && git rebase -i --autosquash $REV^' -
list-merged = !"git branch --merged | grep -v '\\*' | grep -v master | xargs -n 1"
delete-merged = !"git branch --merged | grep -v '\\*' | grep -v master | xargs -n 1 git branch -d"
br = !"git branch | sed 's/^ /_/' | awk '{desc=\"\"; \"git config branch.\"$2\".description\"|getline desc ; print $1\" \"$2\" \"desc}'|sed 's/^_/ /g'"
[apply]
whitespace = strip
[branch]
autosetupmerge = true
autosetuprebase = always
[core]
excludesfile = ~/.gitignore
editor = vim
ignorecase = false
pager = less -XF
[color]
ui = auto
diff = true
status = true
branch = true
interactive = auto
grep = auto
[color "branch"]
current = yellow reverse
local = green
remote = red
plain = white
untracked = cyan
[color "diff"]
meta = blue
frag = black
old = red
new = green
renames = copy
whitespace = blue reverse
[color "status"]
added = yellow
updated = green
changed = red
untracked = cyan
nobranch = blue
[commit]
template = ~/.gitmessage
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[github]
user = rachelober
[interactive]
singlekey = true
[help]
autocorrect = 10
[merge]
summary = true
tool = opendiff
[pager]
color = true
[pull]
rebase = true
[push]
default = current
[rebase]
; autosquash = true
[user]
name = Rachel Ober
email = [email protected]