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
This commit is contained in:
parent
b0ae699487
commit
5e2a2c7516
2 changed files with 11 additions and 2 deletions
|
@ -4,6 +4,11 @@
|
|||
name = Yongmin Hong
|
||||
email = revi@omglol.email
|
||||
signingkey = EA100E94
|
||||
# Don't alphabetize [user] section.
|
||||
[branch]
|
||||
sort = committerdate
|
||||
[color]
|
||||
ui = auto
|
||||
[commit]
|
||||
gpgSign = true
|
||||
[core]
|
||||
|
@ -21,12 +26,16 @@
|
|||
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]
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"prettier": "^3.3.1"
|
||||
},
|
||||
"scripts": {
|
||||
"pcheck": "prettier --check .",
|
||||
"pwrite": "prettier --write ."
|
||||
"p:c": "prettier --check",
|
||||
"p:w": "prettier --write"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue