dotfiles/gitconfig

68 lines
1.4 KiB
Plaintext
Raw Normal View History

2021-03-15 15:18:21 +01:00
[include]
2021-03-17 07:34:26 +01:00
# local and/or misc changes not committed to Git:
path = .gitconfig.local
2021-03-15 15:18:21 +01:00
[alias]
2021-03-17 07:34:26 +01:00
aa = add .
adp = add -p
bn = rev-parse --abbrev-ref HEAD
br = branch
chp = checkout -p
ci = commit
2021-03-21 16:10:06 +01:00
cl = clone
2021-04-08 10:53:27 +02:00
cltms = !sh -c 'cd $HOME/dev && git clone $1 && cd $(basename $1 .git) && tmuxsess' --
2021-03-17 07:34:26 +01:00
co = checkout
cp = cherry-pick
d = diff
ds = diff --staged
f = fetch
fixup = rebase -i --autosquash
2021-04-22 11:41:53 +02:00
fixom = rebase -i --autosquash origin/master
2021-03-17 07:34:26 +01:00
mr = !git merge $(git rb)
2021-04-22 11:41:53 +02:00
nb = checkout -b
2021-03-17 07:34:26 +01:00
nuke = reset --hard
2021-04-13 17:59:03 +02:00
p = push
poh = push -u origin HEAD
2021-03-17 07:34:26 +01:00
pl = pull
plr = pull --rebase
pr = diff origin/master
prs = diff --stat origin/master
rb = !git rev-parse --abbrev-ref --symbolic-full-name @{u}
rc = rebase --continue
rr = !git reset --hard $(git rb)
shp = show -p
s = status
2021-03-26 17:24:46 +01:00
sq = merge --squash
2021-03-18 09:05:37 +01:00
ss = stash save
2021-03-17 07:34:26 +01:00
st = status
undo = reset --soft HEAD^
2021-03-15 15:18:21 +01:00
[user]
2021-03-17 07:34:26 +01:00
email = rob@netflux.io
name = Rob Watson
2021-03-15 15:18:21 +01:00
[core]
2021-03-17 07:34:26 +01:00
editor = vim
quotePath = false
commitGraph = true
pager = delta
2021-03-15 16:44:05 +01:00
[color]
2021-03-17 07:34:26 +01:00
ui = auto
2021-03-15 16:44:05 +01:00
[pull]
2021-03-17 07:34:26 +01:00
ff = only
2021-03-15 16:44:05 +01:00
[init]
2021-03-17 07:34:26 +01:00
defaultBranch = development
2021-03-15 15:18:21 +01:00
[credential "https://github.com"]
2021-03-17 07:34:26 +01:00
helper = !gh auth git-credential
2021-03-15 15:18:21 +01:00
[diff]
2021-03-17 07:34:26 +01:00
tool = vimdiff
2021-03-15 15:18:21 +01:00
[merge]
2021-03-17 07:34:26 +01:00
tool = vimdiff
2021-03-15 15:18:21 +01:00
[interactive]
2021-03-17 07:34:26 +01:00
diffFilter = delta --color-only
2021-03-15 15:18:21 +01:00
[delta]
2021-03-17 07:34:26 +01:00
side-by-side = true
2021-03-29 15:09:50 +02:00
plus-style = 'syntax "#142e20"'
zero-style = 'syntax "#1d1f21" dim'
minus-style = 'syntax "#36181d"'
2021-03-17 07:34:26 +01:00
commit-decoration-style = bold yellow box ul
file-style = bold yellow ul
file-decoration-style = none