mirror of
https://github.com/d0zingcat/dotfiles.git
synced 2026-05-13 23:16:44 +00:00
docs: 更新备份相关文档说明
更新内容: - README.md: 更新 backup 命令说明,添加备份功能详细章节 - QUICKSTART.md: 添加离职前备份步骤 - CHECKLIST.md: 添加备份检查清单 - MIGRATION_GUIDE.md: 添加详细备份流程和离职前检查 - BACKUP_INSTRUCTIONS.md: 新建完整备份指南(离职前必读) 文档改进: - 明确标注哪些文件可以提交,哪些不能提交 - 添加备份报告解读说明 - 添加安全清单和离职检查项 - 添加常见问题解答
This commit is contained in:
@@ -89,3 +89,24 @@ brew bundle install
|
||||
# 备份当前配置
|
||||
./setup.sh backup
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 💾 备份当前配置
|
||||
|
||||
离职前建议备份:
|
||||
|
||||
```bash
|
||||
# 运行完整备份
|
||||
./setup.sh backup
|
||||
|
||||
# 查看备份报告
|
||||
cat .backup_report_*.md
|
||||
|
||||
# 提交变更
|
||||
git add Brewfile
|
||||
git commit -m 'backup: pre-leaving dotfiles'
|
||||
git push
|
||||
```
|
||||
|
||||
**注意**: 备份会生成敏感文件(`.git_config_summary.txt`, `ssh_backup_*/`),这些文件已在 `.gitignore` 中排除,**不要提交**。
|
||||
|
||||
Reference in New Issue
Block a user