git-crypt
1
2
3
4
| scoop install git-crypt
# 导出密钥
git-crypt export-key C:/Users/xxx/Downloads/gitCryptKey
|
git仓库
1
2
3
4
5
6
7
8
| git-crypt init
# 创建规则文件:.gitattributes
*.md filter=git-crypt diff=git-crypt
*.html filter=git-crypt diff=git-crypt
# 解锁
git-crypt unlock 密钥文件路径
|
文章作者
lim
上次更新
2026-04-10
(76750b3)
许可协议
CC BY-NC-ND 4.0