What Is the Meaning of: "Git+Https: //Github. Com/. .. ."?

What Is the Meaning of: "Git+Https: //Github. Com/. .. ."?

What does url of the kind git+https mean? I was installing an application and the command suggested was

"pip install -e git+"

Can someone please explain what it means.

0

1 Answer

A URL like git://github.com will mean just the plain Git protocol. To clarify that it should use Git over HTTPS instead, the protocol is written git+https. Now, git itself does not need this, you can do just git clone .

For other tools like pip, which can handle many protocols, will indicate that it should do just a GET request for that URL, and git:// would indicate that it should attempt to clone the repo with the plain Git protocol. git+https is used to indicate that it should clone the repo over HTTPS (just as git+ssh is used to indicate it should do so using SSH).

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Robert Thorne
Author

Robert Thorne

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.