vault backup: 2026-11-07 16:33:44

This commit is contained in:
cheney
2026-11-07 16:33:55 +08:00
commit 7015312702
1208 changed files with 132432 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
- 合并默认选项
- 回车键
- credential 账号密码记住
```
# 1. 保持原有换行符,不做 CRLF/LF 自动转换
git config --global core.autocrlf false
# 2. pull 时默认使用 rebase(避免产生多余的 merge commit)
git config --global pull.rebase true
# 3. 使用 credential 明文记录账号密码(保存在 ~/.git-credentials)
git config --global credential.helper store
git config --global init.defaultBranch main
# 4. 默认身份
git config --global user.name "cheney"
git config --global user.email "hq@honor3.com"
```