-
Notifications
You must be signed in to change notification settings - Fork 672
Open
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugupstream/vscode
Milestone
Description
I have the following lines in my ~/.gitconfig:
[url "https://github.com/"]
insteadOf = "github:"
pushInsteadOf = "[email protected]:"
[url "[email protected]:"]
insteadOf = "gh:"
pushInsteadOf = "github:"
pushInsteadOf = "git://github.com/"(The effect is that I can do git clone github:user/public or git clone gh:user/private)
However I think the extension is getting confused about the gh: prefix and not reflecting my global git config.
For example, on such a private repo:
$ git config remote.origin.url
gh:user/private
$ git remote get-url origin
[email protected]:user/private
$ git remote show origin -n
* remote origin
Fetch URL: [email protected]:user/private
Push URL: [email protected]:user/private
If handling these config options directly isn't an option, a way of forcing the ext to use github.com would be good too.
The error I'm getting in the "GitHub Pull Request" output is
[Debug 1676975618.298s] Authentication> GitHub Enterprise provider selected without URI.
and a generic notification of "Error signing in to GitHub Enterprise. [Try Again?] [Cancel]" is shown
k4nar and Delapouite
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugupstream/vscode