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
/commit and @diff do not work on remote repository accessed via Remote-SSH VSCode plugin #1450
ide:vscodeRelates specifically to VS Code extensionkind:bugIndicates an unexpected problem or unintended behavioros:windowsHappening specifically on Windowsstale
- OS: Windows_NT x64 10.0.19045
- Continue: Codestral, GPT-4o, and more v0.8.40
- IDE: Visual Studio Code 1.90.0 (user setup)
Description
When working on a remote repository (accessed via Remotes SSH VSCode plugin) two features: /commit and @diff do not work. /commit command generate no result and only prints this: "No changes detected. Make sure you are in a git repository with current changes."
But when VSCode works on a local git repository then /commit works as expected.
I am not sure if it is expected to work. If it is then I need to file a bug. If it is not then I can file as an improvement.
To reproduce
No response
Log output
No response
Reacted by Zachary Wilkins, Christoph Landsdorf, tomek161, Matthew Lloyd, Mauricio Castro, existedinnettw, donghyeon, J Z, Eka Cahya Pratama, Berwin and 5 more
On continue pane, I can't even use /commit command,
there's only 4 available command example when I typed '/',
/edit / comment /share /test and said no 'result' popup if I typed /commit.
/commit just works on Windows?
MacOS with v0.9.167 (pre-release) (lastest version was same)
Same issue when using VS code with WSL. /commit command generates no result and only prints this: "No changes detected. Make sure you are in a git repository with current changes."
Reacted by Abdellah derfoufi, Kim Minwoo, xgawatt, Nicolas, Eka Cahya Pratama, vladimirBraquet and Jared Weinberger
Same issue when using VS code with WSL. /commit command generates no result and only prints this: "No changes detected. Make sure you are in a git repository with current changes."
I confirm in WSL
Reacted by Seamus Johnson, A-De-Almeida, xgawatt, Nicolas, Eka Cahya Pratama, vladimirBraquet, Jared Weinberger and Benjamin Fuentes
Same issue when using VS code with WSL. /commit command generates no result and only prints this: "No changes detected. Make sure you are in a git repository with current changes."
Unfortunately, I can confirm this too.
Are there any news on this one?
Same issue here. But I had this since months to be honest. I thought it would be fixed by then.
Also probably related to git diff command showing no changes
This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.
This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, please reopen + comment and we'll gladly take another look!
ide:vscodeRelates specifically to VS Code extensionkind:bugIndicates an unexpected problem or unintended behavioros:windowsHappening specifically on Windowsstale
Activity
sestinj commentedon Jun 12, 2024
@yury-meshkov thank you, this is definitely a bug
ekoome commentedon Jun 19, 2024
Same issue when using dev containers. I have installed the plugin in the container and get "No changes detected..."
kakadais commentedon Jun 25, 2024
On continue pane, I can't even use /commit command,
there's only 4 available command example when I typed '/',
/edit / comment /share /test and said no 'result' popup if I typed /commit.
/commit just works on Windows?
sestinj commentedon Jun 25, 2024
@kakadais We don't include all slash commands by default, but you can configure them in your config.json like here: https://docs.continue.dev/customization/slash-commands#commit
A-De-Almeida commentedon Jul 16, 2024
Same issue when using VS code with WSL. /commit command generates no result and only prints this: "No changes detected. Make sure you are in a git repository with current changes."
geekloper commentedon Aug 2, 2024
I confirm in WSL
cspotcode commentedon Sep 24, 2024
I get a similar issue using
/onboard. VSCode remote dev from a Window host to a Linux SSH remote.Error is:
Where the project resides at
/home/username/projects/fooon the Linux filesystem.Fix is to force the extension to run on the remote, not the host. But this might break other things, I'm not sure yet. https://code.visualstudio.com/docs/remote/ssh#_advanced-forcing-an-extension-to-run-locally-remotely
karqo commentedon Oct 7, 2024
Unfortunately, I can confirm this too.
Are there any news on this one?
Qualzz commentedon Oct 10, 2024
Same issue here. But I had this since months to be honest. I thought it would be fixed by then.
Also probably related to git diff command showing no changes
liupgd commentedon Oct 16, 2024
Same issue here, I work on a remove ssh vscode server. git diff showed 'No changes detected'
ccll commentedon Oct 24, 2024
@cspotcode Works for me on both
/commitand/onboard, thanks for the tip.A little more detail for who need it.
settings.json:
After the change you need to reload the vscode window, open the extension tab, and install 'Continue' extension into remote SSH host.
And remeber to copy-paste your original client side Continue's config.json into the remote one.
liupgd commentedon Oct 24, 2024
Another compromise solution for vscode remote development is:
@Terminal, write a concise git commit message, With this prompt, Continue can read the terminal and then create commit message for you.klauserber commentedon Jan 2, 2025
Here is a another workaround for AI generated commit messages:
https://gist.github.com/klauserber/d7a550e1441f3e54cb6571c9c0d89e5a
RomneyDa commentedon Feb 28, 2025
@yury-meshkov @geekloper @cspotcode this should be fixed with recent versions that support URIs. Could someone check that this has been resolved?
vbauchart commentedon Mar 3, 2025
same as #2572
github-actions commentedon Aug 6, 2025
This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.
github-actions commentedon Aug 17, 2025
This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, please reopen + comment and we'll gladly take another look!