Skip to content

Commit 03797f2

Browse files
committed
refactor: remove SSH key encryption instructions from dotfiles documentation for clarity
1 parent def09f6 commit 03797f2

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

content/2025/我的 Dotfiles 项目:现代化开发环境自动化配置.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -112,19 +112,6 @@ stow-zsh:
112112
@stow --target="$HOME" --restow zsh
113113
```
114114

115-
### SSH 密钥加密
116-
117-
SSH 密钥这种敏感文件用 git-crypt 加密,避免泄露:
118-
119-
```bash
120-
# 检查并解锁加密文件
121-
if [ -f "$DOTFILES_DIR/git-crypt-key" ]; then
122-
if git-crypt status | grep -q "encrypted"; then
123-
git-crypt unlock "$DOTFILES_DIR/git-crypt-key"
124-
fi
125-
fi
126-
```
127-
128115
## 包含的工具
129116

130117
主要包含这些工具和配置:

0 commit comments

Comments
 (0)