chore: remove developer backup cruft from the source tree #9
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "chore/remove-dev-cruft"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
Editor/developer backup copies (
*.old,*.orig,*.new) were committed into the source tree. They are dead weight in the deploy source-of-truth and, more importantly, they are old PHP snapshots that a scanner flags as residual/suspicious files. Removing them at the source is the clean fix — better than filtering them out at build time, which would only paper over the fact that they are tracked.What
git rmof 7 backup files:cadline/backend/maintenance2/maintenance/tips.php.origcadline/backend/maintenance2/tips.php.origcadline/components/components/com_showroom/models/uploadgroup.php.oldcadline/components/components/com_showroom/views/uploadgroup/tmpl/default.php.oldcadline/components/components/com_showroom/views/uploadgroup/view.html.php.olddeployed/jckman/administrator/components/com_jckman/restorers/backup.php.olddeployed/jckman/administrator/components/com_jckman/views/toolbar/view.html.php.newNone of these are referenced by the running application (the live filenames without the suffix remain in place and untouched).