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

Support remote origin over http or https #12

Closed
adamryman opened this issue Sep 11, 2017 · 1 comment
Closed

Support remote origin over http or https #12

adamryman opened this issue Sep 11, 2017 · 1 comment

Comments

@adamryman
Copy link
Contributor

adamryman commented Sep 11, 2017

lab seems to have issues if remote origin is of type http or https rather than ssh in the .git/config file.

To illustrate:

This works:

[remote "origin"]
	url = git@gitlab.com:foo/bar.git
	fetch = +refs/heads/*:refs/remotes/origin/*

This does not work:

[remote "origin"]
	url = https://gitlab.com/foo/bar.git
	fetch = +refs/heads/*:refs/remotes/origin/*
@zaquestion zaquestion added this to the 0.9.5 milestone Feb 7, 2018
zaquestion added a commit that referenced this issue Feb 18, 2018
…d git://

This should resolve most issues with using non scp style ssh urls (e.g. git@gitlab.com:user/repo) with lab
zaquestion added a commit that referenced this issue Feb 18, 2018
[#12] (internal/git) support parsing remotes using http/s, ssh://, and git://
@zaquestion
Copy link
Owner

Should be fixed in #111, re-open if any new cases come up.

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

No branches or pull requests

2 participants