dotfiles/.config/git/config

135 lines
3.0 KiB
Plaintext
Raw Normal View History

# -*- indent-tabs-mode: t; -*-
2019-10-24 13:36:40 +00:00
[user]
2022-11-18 02:55:50 +00:00
email = lucien@phundrak.com
name = Lucien Cartier-Tilet
signingkey = BD7789E705CB8DCA
2019-10-24 13:36:40 +00:00
[core]
2022-11-18 02:55:50 +00:00
editor = emacsclient -c -a emacs
whitespace = fix,-indent-with-non-tab,trailing-space
excludesfile = /home/phundrak/dotfiles/.gitignore_global
2019-10-24 13:36:40 +00:00
[web]
2022-11-18 02:55:50 +00:00
browser = firefox
2019-10-24 13:36:40 +00:00
[color]
2022-11-18 02:55:50 +00:00
ui = auto
2019-10-24 13:36:40 +00:00
[alias]
2022-11-18 02:55:50 +00:00
a = add --all
####
b = branch
####
c = commit -S
ca = commit -a
cm = commit -m
cam = commit -am
####
co = checkout
cob = checkout -b
####
cl = clone
cl1 = clone --depth=1
####
d = diff -w
####
l = log --oneline --graph --decorate
####
ps = push
psf = push -f
pso = push origin
psfo = push -f origin
psom = push origin master
psfom = push -f origin master
####
pl = pull
pb = pull --rebase
####
re = reset
reh = reset --hard
rehh = reset --hard HEAD
####
r = remote
ra = remote add
rr = remote rm
###
rmf = rm -f
rmrf = rm -r -f
####
s = status
sm = submodule
sms = submodule status
sma = submodule add
smu = submodule update
smui = submodule update --init
smuir = submodule update --init --recursive
####
staged = diff --cached
####
sc = stash clear
sp = stash pop
sw = stash show
####
pushall = !git remote | xargs -L1 git push
psl = !git remote | xargs -L1 git push
pullall = !git remote | xargs -L1 git pull
pll = !git remote | xargs -L1 git pull
####
u = reset --
unstage = reset --
[sendemail]
2022-11-18 02:55:50 +00:00
smtpserver = mail.phundrak.com
smtpuser = lucien@phundrak.com
smtpencryption = tls
smtpserverport = 587
2019-10-24 13:36:40 +00:00
[magithub]
2022-11-18 02:55:50 +00:00
online = true
2019-10-24 13:36:40 +00:00
[magithub "status"]
2022-11-18 02:55:50 +00:00
includeStatusHeader = true
includePullRequestsSection = true
includeIssuesSection = true
2019-10-24 13:36:40 +00:00
[gpg]
2022-11-18 02:55:50 +00:00
program = gpg2
2019-10-24 13:36:40 +00:00
[mergetool.ediff]
2022-11-18 02:55:50 +00:00
cmd = emacs --eval \" (progn (defun ediff-write-merge-buffer () (let ((file ediff-merge-store-file)) (set-buffer ediff-buffer-C) (write-region (point-min) (point-max) file) (message \\\"Merge buffer saved in: %s\\\" file) (set-buffer-modified-p nil) (sit-for 1))) (setq ediff-quit-hook 'kill-emacs ediff-quit-merge-hook 'ediff-write-merge-buffer) (ediff-merge-files-with-ancestor \\\"$LOCAL\\\" \\\"$REMOTE\\\" \\\"$BASE\\\" nil \\\"$MERGED\\\"))\"
2019-10-24 13:36:40 +00:00
[merge]
2022-11-18 02:55:50 +00:00
tool = ediff
2019-10-24 13:36:40 +00:00
[github]
2022-11-18 02:55:50 +00:00
user = phundrak
2019-10-24 21:07:55 +00:00
[commit]
2022-11-18 02:55:50 +00:00
gpgsign = true
2020-07-26 08:21:54 +00:00
[pull]
2022-11-18 02:55:50 +00:00
rebase = false
[init]
2022-11-18 02:55:50 +00:00
defaultBranch = main
[pager]
2022-11-18 02:55:50 +00:00
diff = delta
log = delta
reflog = delta
show = delta
[interactive]
2022-11-18 02:55:50 +00:00
diffFilter = delta --color-only
[delta]
2022-11-18 02:55:50 +00:00
features = side-by-side line-numbers decorations
whitespace-error-style = 22 reverse
[delta "decorations"]
2022-11-18 02:55:50 +00:00
commit-decoration-style = bold yellow box ul
file-style = bold yellow ul
file-decoration-style = none
[credentials "smtp://lucien@phundrak.com@mail.phundrak.com:587"]
2022-11-18 02:55:50 +00:00
helper = "pass Email/lucien@phundrak.com | head -n1 | tr -d '\n'"
2022-11-11 13:41:24 +00:00
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
2022-11-18 02:55:50 +00:00
[safe]
directory = /opt/flutter
[url "https://phundrak@github.com"]
insteadOf = https://github.com
[url "https://phundrak@labs.phundrak.com"]
insteadOf = https://labs.phundrak.com