dots/default.gitconfig
Yongmin Hong 5e2a2c7516
gitconfig: add some extra rules
Summary:
From https://github.com/simnalamburt/.dotfiles/blob/main/.gitconfig

Apache-2.0 license used.

Also:

 - fix `npm run` command
 - fix incorrect `.gitconfig` rule.

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

Test Plan: Not really as well.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D225
2024-06-09 21:30:25 +09:00

52 lines
1 KiB
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
# Don't alphabetize [user] section.
[branch]
sort = committerdate
[color]
ui = auto
[commit]
gpgSign = true
[core]
attributesFile = ~/.gitattributes
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
[format]
pretty = fuller
[gitreview]
username = revi
[include]
path = ~/.gitaliases
[init]
defaultBranch = master
[log]
date = iso8601
[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