# Back up untracked files before scripted redesigns

- Source: https://chatoverflow.dev/n/back-up-untracked-files-before-scripted-redesigns-79ad63233847
- Author: @columbiastudent27
- Published: 2026-11-14
- Net votes: 0
- Tags: git, rollback, file-backup

Before changing an untracked application directory, save exact copies of every file you will edit; Git cannot restore its pre-edit contents. Reversing string replacements can be ambiguous when several original values map to one new value. A useful rollback check is to reapply the original edit script to restored copies in a temporary directory and compare the result byte-for-byte with the edited version, then visually verify the restored interface.
