You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(troubleshooting): explain disabled Commit and Push in github.dev after room updates (#244)
A learner with confirmed write access hit a disabled Commit and Push in
github.dev because the editor's copy of her Learning Room went stale
after maintenance commits were pushed to the room
(Community-Access/support#59). Copilot then misreported it as a
permissions problem.
- Add a Common Issues entry to Appendix J with reload-and-recover steps
- Add a matching troubleshooting row to the Challenge 5 issue template
- Regenerate html/ and work.md
Co-authored-by: GitHub Workshop Bot <workshop@example.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/appendix-j-cloud-editors.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -348,6 +348,18 @@ If the branch exists on GitHub, you can create a new Codespace from it. Uncommit
348
348
349
349
You may have committed but not pushed. In the Source Control panel, look for the **Sync Changes** or **Push** button. Run `git push` in the terminal if needed.
350
350
351
+
### Commit and Push is disabled in github.dev even though I have write access
352
+
353
+
In github.dev, your edits are saved in the browser's local storage until you commit them. If the repository receives new commits after you opened the editor (for example, workshop maintenance updates pushed to your Learning Room), the editor's copy of the repository goes stale and **Commit & Push** can become disabled - pressing `Ctrl+Enter` in the commit message field does nothing, and the Accessible View reports that commit and push are disabled. AI assistants sometimes misreport this as a permissions problem; if you could open the private repository in github.dev, you are signed in and your access is fine.
354
+
355
+
To fix it:
356
+
357
+
1. Reload the browser tab (`F5`), or go back to the repository page on GitHub.com and press `.` to reopen github.dev. Your uncommitted edits are restored from browser storage after the reload.
358
+
2. Confirm you are signed in: the **Accounts** button in the Activity Bar should announce your GitHub username.
359
+
3. Return to the Source Control panel (`Ctrl+Shift+G`), enter your commit message, and press `Ctrl+Enter`.
360
+
361
+
If it is still disabled after a reload, copy your edited text to the clipboard as a backup, then use the **Edit this file** (pencil) editor on GitHub.com instead - it commits directly and does not depend on browser state.
Copy file name to clipboardExpand all lines: html/docs/appendix-j-cloud-editors.html
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -267,6 +267,7 @@ <h2 class="onpage-title">On This Page</h2>
267
267
<liclass="onpage-item onpage-sub"><ahref="#extensions-i-rely-on-locally-are-not-available">Extensions I rely on locally are not available</a></li>
268
268
<liclass="onpage-item onpage-sub"><ahref="#i-accidentally-deleted-my-codespace-before-pushing">I accidentally deleted my Codespace before pushing</a></li>
269
269
<liclass="onpage-item onpage-sub"><ahref="#my-changes-are-not-showing-in-github-after-committing">My changes are not showing in GitHub after committing</a></li>
270
+
<liclass="onpage-item onpage-sub"><ahref="#commit-and-push-is-disabled-in-githubdev-even-though-i-have-write-access">Commit and Push is disabled in github.dev even though I have write access</a></li>
<p>If the branch exists on GitHub, you can create a new Codespace from it. Uncommitted changes in a deleted Codespace cannot be recovered.</p>
724
725
<h3id="my-changes-are-not-showing-in-github-after-committing">My changes are not showing in GitHub after committing</h3>
725
726
<p>You may have committed but not pushed. In the Source Control panel, look for the <strong>Sync Changes</strong> or <strong>Push</strong> button. Run <code>git push</code> in the terminal if needed.</p>
727
+
<h3id="commit-and-push-is-disabled-in-githubdev-even-though-i-have-write-access">Commit and Push is disabled in github.dev even though I have write access</h3>
728
+
<p>In github.dev, your edits are saved in the browser's local storage until you commit them. If the repository receives new commits after you opened the editor (for example, workshop maintenance updates pushed to your Learning Room), the editor's copy of the repository goes stale and <strong>Commit & Push</strong> can become disabled - pressing <code>Ctrl+Enter</code> in the commit message field does nothing, and the Accessible View reports that commit and push are disabled. AI assistants sometimes misreport this as a permissions problem; if you could open the private repository in github.dev, you are signed in and your access is fine.</p>
729
+
<p>To fix it:</p>
730
+
<ol>
731
+
<li>Reload the browser tab (<code>F5</code>), or go back to the repository page on GitHub.com and press <code>.</code> to reopen github.dev. Your uncommitted edits are restored from browser storage after the reload.</li>
732
+
<li>Confirm you are signed in: the <strong>Accounts</strong> button in the Activity Bar should announce your GitHub username.</li>
733
+
<li>Return to the Source Control panel (<code>Ctrl+Shift+G</code>), enter your commit message, and press <code>Ctrl+Enter</code>.</li>
734
+
</ol>
735
+
<p>If it is still disabled after a reload, copy your edited text to the clipboard as a backup, then use the <strong>Edit this file</strong> (pencil) editor on GitHub.com instead - it commits directly and does not depend on browser state.</p>
0 commit comments