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

Repository creates url as git+https://github.com... #56

Open
jasonkarns opened this issue Jan 26, 2016 · 5 comments
Open

Repository creates url as git+https://github.com... #56

jasonkarns opened this issue Jan 26, 2016 · 5 comments

Comments

@jasonkarns
Copy link

Recently, npm-init has begun generating packages where the repo url scheme is git+https://. Is this intentional or a bug? Why the change? (npm 3.5.3)

@adius
Copy link

adius commented Jun 1, 2016

I'm asking myself the same question!

@Hessiinlove
Copy link

Recently, npm-init has begun generating packages where the repo url scheme is git+https://. Is this intentional or a bug? Why the change? (npm 3.5.3)

@frank-dspeed
Copy link

This can be closed. Has no additional value everything is on https://npmjs.org.

Solution

it is fully intentional also i need to inform you all that you should upgrade your nodejs installation and npm installations from time to time

@jasonkarns
Copy link
Author

also i need to inform you all that you should upgrade your nodejs installation and npm installations from time to time

What is this supposed to mean? This issue is over 7 years old. The version it was reported against was latest available at the time.

@frank-dspeed
Copy link

@jasonkarns that means i saw indicators that there is some one upgrading npm without reading the changelog so i suggested fast and simple and general to update from time to time

but i understand now that the question was a diffrent so i will answer it finally

parsing string http://github.com/* gives me only enough information to know that i can get a tar.gz from there
when i put git+https in the string i know i can use the git client to pull that even with credentials configured via the existing git client.

git+ssh:// tells me that i can use git and also the ssh config to get credentials .

Long Story short

if you work only with public repos where you have no need to push changes back or you do not need to use credentials for the download using https://github.com is fine all other need to use git@ git+ssh:// git+https

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

No branches or pull requests

4 participants