-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgitconfig
60 lines (60 loc) · 1.82 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
[core]
attributesfile = ~/.gitattributes
excludesfile = ~/.gitignore
hooksPath = .githooks
[user]
name = Colin Hebert
email = [email protected]
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDlE/V1PzE+voehMFGNMAvIGFZuCvdovineWKWifp9Sx
[color]
ui = true
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[alias]
stat = status
st = status --short
remove = rm
ci = commit -v
cia = commit --amend -v
ciaa = commit -a --amend -v
br = branch
co = checkout
df = diff
lg = log -p
loll = log --graph --decorate --pretty=oneline --abbrev-commit
lol = !git --no-pager loll
lolal = log --graph --decorate --pretty=oneline --abbrev-commit --all
lola = !git --no-pager lolal
ls = ls-files
unstash = stash pop
log-merge = !git log $(git merge-base --octopus $(git log -1 --merges --pretty=format:%P $1))..$1 --graph --pretty=oneline --abbrev-commit --boundary
log-all = !git log --graph --decorate --pretty=oneline --abbrev-commit --all $(git fsck --no-reflogs | grep commit | cut -d\\ -f3)
git = !git
man = help
fap = fetch --all -p
assumed = "!git ls-files -v | grep ^h | cut -c 3-"
assume = update-index --assume-unchanged
unassume = update-index --no-assume-unchanged
unassumeall = "!git assumed | xargs git update-index --no-assume-unchanged"
restash = !git update-ref -m $(git log -1 --pretty=format:'%s' $1) refs/stash $1
[rerere]
enabled = false
[diff "plist"]
textconv = catplist
[gpg]
format = ssh
[gpg "ssh"]
program = "/Applications/1Password.app/Contents/MacOS/op-ssh-sign"
[commit]
gpgsign = true