Skip to content

Git ​

官网

配置 ​

用户名 ​

bash
git config --global user.name zichou

用户邮箱 ​

bash
git config --global user.email 1303037989@qq.com

分支默认名 ​

bash
git config --global init.defaultBranch main

URL 替换 ​

bash
git config --global url.git@github.com:.insteadOf https://github.com/

项目基础 ​

.gitignore ​

dist

.gitattributes ​

* text=auto eol=lf

.nvmrc ​

v24.18.0

.npmrc ​

save-exact=true
registry=https://registry.npmmirror.com

pnpm-workspace.yaml ​

yaml
saveExact: true