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

Git - use git command to retrieve push and fetch URLs when possible #238675

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wafrelka
Copy link

Currently, the git extension API does not respect url.<base>.insteadOf configured in the global .gitconfig in most cases.
This behavior is problematic for some users of the vscode-pull-request-github extension.

This pull request fixes the behavior by using the git command to retrieve remote information when possible.

fixes: #174941

@wafrelka
Copy link
Author

@microsoft-github-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Git - extension API gives repository remotes with aliases
3 participants