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
{{ message }}
Repository navigation
Git: command 'github.codespaces.publish' not found #52
@thecherrie Does this consistently reproduce for you? I haven't had any luck hitting this myself. Can I have you export your logs (F1 > Codespaces: Export Logs) and email them to me at dmgardiner25@github.com to help me look into this further?
I faced a similar issue while working in GitHub Codespaces.
From what I observed, this error usually occurs when the GitHub Codespaces extension or related VS Code commands fail to load properly inside the browser/editor environment.
A temporary workaround that worked for me was using Git directly from the terminal instead of the "Publish Branch" UI button:
Activity
dmgardiner25 commentedon Sep 20, 2023
@thecherrie Does this consistently reproduce for you? I haven't had any luck hitting this myself. Can I have you export your logs (
F1>Codespaces: Export Logs) and email them to me at dmgardiner25@github.com to help me look into this further?Killerking88 commentedon Aug 23, 2024
Git: command 'github.codespaces.publish' not found
redah26 commentedon Sep 6, 2024
sudheerxdev commentedon May 1, 2026
I faced a similar issue while working in GitHub Codespaces.
From what I observed, this error usually occurs when the GitHub Codespaces extension or related VS Code commands fail to load properly inside the browser/editor environment.
A temporary workaround that worked for me was using Git directly from the terminal instead of the "Publish Branch" UI button:
You can also try:
It may also be related to extension initialization issues in browser-based VS Code sessions.
Hope this helps someone facing the same issue.