Skip to content

Add remote using ssh instead of https, when key exists #273

@roblourens

Description

@roblourens

If you can detect when this is possible, you should add the remote using the ssh url (git@github.com:JacksonKearl/vscode.git) instead of the https url (https://github.com/JacksonKearl/vscode).

I can push to the first but not the second without getting a personal access token because 2FA.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable buggithubRelated to GitHub API

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions