-
Notifications
You must be signed in to change notification settings - Fork 1
/
gitconfig
38 lines (33 loc) · 841 Bytes
/
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
[user]
name = Patrick Mooney
email = pmooney@pfmooney.com
[committer]
email = pmooney@oxide.computer
[init]
defaultBranch = master
[color]
ui = auto
[push]
default = simple
[transfer]
fsckobjects = true
[fetch]
fsckobjects = true
[receive]
fsckObjects = true
[fetch.fsck]
# Ignore warts in the illumos repo
badEmail = ignore
missingSpaceBeforeEmail = ignore
missingNameBeforeEmail = ignore
zeroPaddedFilemode = ignore
[alias]
last = !sh -c "'if [ \"$TMUX\" ]; then tmux set-buffer $(git log -n1 --format='%H'); git log -n1; fi'"
pr = !sh -c 'git fetch ${2:-origin} "pull/$1/head:pr$1"' -
up = pull --ff-only
ds = diff --stat
dsc = diff --stat --cached
st = status --short
cpick = cherry-pick
cid = !sh -c 'echo "Change-Id: I$(git show --format=fuller | git hash-object --stdin)"'
root = rev-parse --show-toplevel