In reply to M.

And then, since you haven't made the change in your source files on your development machine the next time you push that code, it undoes this change.

Editing a live site is cowboy dev. It's irresponsible and should be avoided except in cases of emergency. "Oh but it's a hassle to edit on dev, then test and then have to FTP it..." No, it's professional.