Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote: add remote with local folder #4117

Open
giovanniakp opened this issue Feb 27, 2025 · 0 comments
Open

Remote: add remote with local folder #4117

giovanniakp opened this issue Feb 27, 2025 · 0 comments
Labels
triage Needs to be looked at

Comments

@giovanniakp
Copy link

Description

Does Gitlens not support adding local folder as remote, only allowing URL/remote providers? I tried adding local .git folder using the plus button (Add Remote...) in Remote view (detached) in Source Control sidebar panel, by right clicking in Repositories > Remotes, or by using GitLens command palette. I also tried using "file://". It just shows error, for example:

'file:///Z:/xxx/xyz/.git' isn't a valid remote URL.

Just curious, because I can add local remote just fine using terminal or VS Code Built-in Command palette Git: Add Remote.

Is this a bug or a feature (intended by Gitlens)?

GitLens Version

16.3.2

VS Code Version

Version: 1.97.2 (system setup)
Commit: e54c774e0add60467559eb0d1e229c6452cf8447
Date: 2025-02-12T23:20:35.343Z
Electron: 32.2.7
ElectronBuildId: 10982180
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.19045

Git Version

git version 2.47.1.windows.2

Logs, Screenshots, Screen Captures, etc

No response

@giovanniakp giovanniakp added the triage Needs to be looked at label Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Needs to be looked at
Projects
None yet
Development

No branches or pull requests

1 participant