-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
39 lines (39 loc) · 1.03 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
[user]
name = Michael Baird
email = [email protected]
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIM92O2lB7hL8Ip0MPZhHxZFLzjQ3TJ65nzakWnte+uo
[push]
default = current
[pull]
rebase = true
[alias]
aa = add --all
ap = add -p
ci = commit -v
co = checkout
d = diff
dc = diff --cached
lg = log --color --pretty=format:'%C(magenta)%h%Creset%C(yellow)%d%Creset %s %Cgreen(%cr) %C(blue)<%an>%Creset' --abbrev-commit --date=relative
origin-head = !git symbolic-ref refs/remotes/origin/HEAD | cut -d'/' -f4
up = !git pull origin $(git origin-head) --rebase
amend = commit --amend
rc = rebase --continue
ra = rebase --abort
cpc = cherry-pick --continue
cpa = cherry-pick --abort
trust = "!mkdir -p .git/safe"
[core]
attributesFile = ~/.gitattributes
excludesfile = ~/.gitignore
pager = less -x1,3
[fetch]
prune = true
[rebase]
autosquash = true
autostash = true
[commit]
gpgsign = true
[gpg]
format = ssh
[gpg "ssh"]
program = "/Applications/1Password.app/Contents/MacOS/op-ssh-sign"