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

Does go-git support "insteadOf" replacements for repo urls (in gitconfig) #76

Closed
kostyay opened this issue May 25, 2020 · 3 comments · Fixed by #79
Closed

Does go-git support "insteadOf" replacements for repo urls (in gitconfig) #76

kostyay opened this issue May 25, 2020 · 3 comments · Fixed by #79
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@kostyay
Copy link
Contributor

kostyay commented May 25, 2020

I can't seem to find any reference to this in the code.
Does go-git know how to handle configurations such as git config --global url.ssh://git@github.com/.insteadOf https://github.com/?

Thanks in advance.

@mcuadros
Copy link
Member

It's not supported. But it could be an easy one.

@mcuadros mcuadros added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels May 27, 2020
@kostyay
Copy link
Contributor Author

kostyay commented May 29, 2020

Let me know what you think
#79

@gcstang
Copy link

gcstang commented Dec 22, 2022

@kostyay is there an example on how to use this with git.PlainClone ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants