Unable to edit PHP file via GitHub Web UI — changes revert instantly #171753
Replies: 1 comment 1 reply
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.



Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Bug
Body
Hi everyone,
I'm encountering a strange issue when trying to edit a PHP file directly in the GitHub web interface.
Repository: https://github.com/lemira/com_kunenatopic2article Branch: interface File: admin/tmpl/topic/default.php
About three hours ago, I successfully committed changes to this file and verified that the new content is present. However, when I try to edit the file again via the GitHub interface — for example, by deleting a line or clearing the contents — the changes do not apply. The original content immediately reappears, as if the edit was canceled or overwritten.
To test further, I created a new file (default-test.php) with identical content, and it behaves the same way. Other files in the same repository can be edited normally.
I’ve tried clearing my browser cache, switching browsers, and even using incognito mode. I don’t have Git installed locally, so I rely entirely on the Web UI for editing.
Has anyone experienced something similar? Is this a known bug or limitation?
Thanks in advance for any insights or suggestions! — Leonid
Beta Was this translation helpful? Give feedback.
All reactions