杂七杂八
约1分钟
vscode 局域网共享
code serve-web --host 0.0.0.0
git全局根据项目不同自动切换用户
cat ~/.gitconfig
[includeIf "hasconfig:remote.*.url:*github.com*/**"]
path = ~/.gitconfig-github
[includeIf "hasconfig:remote.*.url:git@github.com:*/**"]
path = ~/.gitconfig-github
[includeIf "hasconfig:remote.*.url:*://git@gitlab.cn*/**"]
path = ~/.gitconfig-gitlab
[includeIf "hasconfig:remote.*.url:git@gitlab.cn:*/**"]
path = ~/.gitconfig-gitlab
建议更改
上次更新于: 2026-05-19 09:55