forked from elasticdog/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
40 lines (40 loc) · 1.21 KB
/
Copy pathgitconfig
File metadata and controls
40 lines (40 loc) · 1.21 KB
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
[user]
name = Aaron Bull Schaefer
email = aaron@elasticdog.com
[alias]
ap = add --patch
br = branch
ci = commit --verbose
co = checkout
df = diff
ds = diff --stat
empty-tree-sha1 = hash-object -t tree /dev/null
gone = !git log --diff-filter=D --summary
lc = log ORIG_HEAD.. --stat --no-merges
lo = log --all --date-order --oneline --graph --decorate -M -C
lob = log --date-order --oneline --graph --decorate -M -C
low = log --all --date-order --pretty=custom --graph --date=relative -M -C
patch = format-patch --patience --full-index -M -C
pr = "!f() { git fetch upstream pull/$1/head:pr/$1; }; f"
rb = rebase
rbi = rebase --interactive --autosquash
serve = !git daemon --reuseaddr --verbose --base-path=. --export-all ./.git
st = status --short --branch
staged = diff --cached
whitespace = !git diff --check $(git empty-tree-sha1)
who = shortlog --summary --email --
whois = "!sh -c 'git log -i -1 --pretty=\"format:%an <%ae>\n\" --author=\"$1\"' -"
[color]
ui = auto
[core]
editor = vim -f
excludesfile = ~/.gitignore
[merge]
conflictstyle = diff3
tool = gvimdiff
[push]
default = simple
[pretty]
custom = format:%C(yellow)%h%C(green)%d%C(reset) %s %C(cyan)[%cr] %C(magenta)<%an>%C(reset)
[rerere]
enabled = 1