This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/common/git/config

84 lines
1.6 KiB
Plaintext
Raw Normal View History

[user]
name = Daniel Flanagan
2019-02-04 09:57:54 -06:00
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[core]
editor = $EDITOR
excludesfile = /home/daniel/.home/.gitignore
[http "https://gopkg.in"]
followRedirects = true
[diff]
tool = $EDITOR -d
[difftool]
prompt = false
[alias]
a = add
2020-11-17 17:18:00 -06:00
A = add -A
ac = commit -a
b = rev-parse --symbolic-full-name HEAD
c = commit
cm = commit -m
cnv = commit --no-verify
2019-08-10 21:40:35 -05:00
co = checkout
d = diff
ds = diff --staged
dt = difftool
f = fetch
l = log --graph --abbrev-commit --decorate --oneline --all
plainlog = log --pretty=format:'%h %ad%x09%an%x09%s' --date=short --decorate
ls = ls-files
2019-08-10 21:40:35 -05:00
mm = merge master
p = push
pf = push --force-with-lease
pl = pull
rim = rebase -i master
s = status
sur = submodule update --remote
[merge]
tool = $EDITOR -d
conflictstyle = diff3
[mergetool]
prompt = false
[mergetool "nvimdiff"]
cmd = $EDITOR -d $BASE $LOCAL $REMOTE $MERGED -c '$wincmd w' -c '$wincmd J'
2020-02-12 09:46:01 -06:00
2019-02-04 01:43:53 -06:00
[pager]
branch = false
2020-01-20 14:28:45 -06:00
# remove ansi codes, pad each file's diff with newlines, show as diff, remove top padding
diff = nvim -c 'silent %sm/\\e[^mK]*[mK]//g' \
-c 'silent %s/^diff/\\r\\rdiff/' \
-c 'silent set ft=diff' \
-c 'silent execute \"normal gg2dd\"' \
-c 'silent setlocal nobuflisted buftype=nofile bufhidden=wipe noswapfile'
2020-01-20 14:28:45 -06:00
2020-01-08 10:59:45 -06:00
[gpg]
program = gpg2
2020-02-13 16:29:47 -06:00
2020-09-10 20:00:17 -05:00
[color]
ui = auto
2021-01-06 10:52:25 -06:00
2021-09-24 13:06:43 -05:00
[push]
default = current
2022-02-07 15:20:19 -06:00
[sendemail]
smtpserver = smtp.mailgun.org
smtpuser = daniel@lyte.dev
smtrpencryption = tls
smtpserverport = 587
[include]
path = ~/.config/lytedev-env/host-layer-personal/gitconfig
path = ~/.config/lytedev-env/divvy/gitconfig