feat: split git user identity by repo directory
Leave global name/email empty with useConfigOnly so unmatched repos cannot commit. Personal identity applies under ~/.dotfile, ~/code, and ~/.pouch; work identity stays in local ~/.gitconfig.work for ~/workrepo.
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
# 个人身份:~/.dotfile、~/code、~/.pouch(由 includeIf gitdir 加载)
|
||||
[user]
|
||||
name = laily
|
||||
email = i@laily.net
|
||||
Reference in New Issue
Block a user