dots/default.gitconfig
Yongmin Hong d5b6e05a86
gitalias: add more rules
Summary:
 - add !command in correct sections to prevent mistakes
 - alphabetize
 - `diffs` for `diff --staged`
 - `prod` to quick deploy to `prod` branch for some repos.
 - `staash` for `stash -a`

also:
 - add `max_line_length: 80` to editorconfig
 - autofix `TXT1` rule for `.arclint`
 - `rerere.autoUpdate = tru` for `gitconfig`
 - add prettier
 - fix nfty.yml
 - add `.yamllint` config

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: I think there isn't?

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D211
2024-06-08 16:31:19 +09:00

42 lines
895 B
Text

# Copyright (C) 2016 Hong Yongmin <https://revi.xyz>
# SPDX-License-Identifier: Apache-2.0
[user]
name = Yongmin Hong
email = revi@omglol.email
signingkey = EA100E94
[commit]
gpgSign = true
[core]
editor = nano
quotepath = false
[credential]
helper = 'store'
[diff]
tool = default-difftool
[difftool "default-difftool"]
cmd = code --wait --diff $LOCAL $REMOTE
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[gitreview]
username = revi
[include]
path = ~/.gitaliases
[init]
defaultBranch = master
[pretty]
show = fuller
[rerere]
enabled = true
autoUpdate = true
[sendemail]
from = 'Yongmin Hong <revi@omglol.email>'
smtpserver = smtp.fastmail.com
smtpuser = revi@omglol.email
smtpencryption = ssl
smtpserverport = 465
smtpAuth = 'PLAIN'
[tag]
forceSignAnnotated = true