[P16] Prevent deploy git reset from clobbering .env #122
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
deploy does git reset --hard which overwrites .env. Provision must run AFTER the reset, not before. Ensure .env.bak/restore wraps the entire reset+provision+restart sequence atomically.