Redirect to Root after File Upload to Subfolder #188875
Replies: 5 comments
-
|
GitHub’s web interface currently redirects you back to the repository root (/) after uploading a file, even if you were inside a subfolder. This is simply how the UI is designed—it treats uploads as repository‑level actions rather than folder‑specific ones. |
Beta Was this translation helpful? Give feedback.
-
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
This comment was marked as low quality.
This comment was marked as low quality.
-
|
This is a confirmed limitation of the GitHub web UI — it's not a bug, but it is a genuine UX pain point that many people have run into. Workarounds (best to least practical)
add files, then:git add subfolder/ && git commit -m "..." && git push Feature request TL;DR — It's a current UI limitation with no perfect fix, but drag-and-drop onto the subfolder view is the closest workaround. For repeated subfolder work, local Git is the practical answer. |
Beta Was this translation helpful? Give feedback.
-
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
Why does the GitHub web interface redirects to / after I upload a file to a subfolder?
Isn't it more logical to stay in this subfolder?
I might have other things to do there.
Now every time I have navigate back from / to the subfolder after file upload.
Beta Was this translation helpful? Give feedback.
All reactions