You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,13 @@ En Windows (PowerShell):
57
57
Los instaladores incluidos solo aplican dotfiles de usuario en `$HOME`. No se modifican archivos de sistema (`/etc/*`) automáticamente. Si al aplicar los módulos hay archivos conflictivos en `$HOME` (por ejemplo un `~/.bashrc` ya existente), el instalador preferirá los dotfiles del repositorio y respaldará los archivos anteriores en `$HOME/.dotfiles_backup/<timestamp>/` antes de reemplazarlos.
58
58
Para aplicar archivos de sistema (por ejemplo `X11`), sigue las instrucciones manuales en `docs/INSTALL.md`.
59
59
60
+
#### Restaurar archivos respaldados
61
+
Si necesitas restaurar archivos desde un backup creado por el instalador, copia los archivos de vuelta desde `$HOME/.dotfiles_backup/<timestamp>/` a tu home. Por ejemplo:
62
+
```bash
63
+
cp -a "$HOME/.dotfiles_backup/<timestamp>/.""$HOME/"
64
+
```
65
+
Ten cuidado: esto sobrescribirá los archivos actuales. Verifica el contenido del backup antes de restaurar.
66
+
60
67
## Hooks Git
61
68
El repositorio incluye hooks en `.githooks` que, por ejemplo, marcan archivos con shebang como ejecutables en el índice.
62
69
- Activación automática: los instaladores configuran `core.hooksPath` a `.githooks` en tu clon local (idempotente).
0 commit comments