forked from ranman/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
43 lines (43 loc) · 1021 Bytes
/
Copy path.gitconfig
File metadata and controls
43 lines (43 loc) · 1021 Bytes
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
[user]
name = J. Randall Hunt
email = randallhunt@gmail.com
[core]
editor = vim
whitespace = fix,trailing-space,space-before-tab,tab-in-indent
excludesfile = /Users/ranman/.gitignore
pager = less -F -X
[github]
user = ranman
[hub]
http-clone = false
protocol = https
[rerere]
enabled = 1
[color]
ui = true
interactive = true
[push]
default = tracking
[branch]
autosetuprebase = always
[alias]
co = checkout
pull = pull --ff-only
assume = update-index --assume-unchanged
unassume = update-index --no-assume-unchanged
assumed = "!git ls-files -v | grep ^h | cut -c 3-"
ours = "!f() { git checkout --ours $@ && git add $@; }; f"
theirs = "!f() { git checkout --theirs $@ && git add $@; }; f"
st = status -sb
conflicts = git diff --diff-filter=U
karma = shortlog -sn
[help]
autocorrect = 1
[init]
templatedir = ~/.git_template
[pager]
stash = cat
[diff]
algorithm = patience
[credential]
helper = osxkeychain