forked from progit/progit2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request progit#710 from sivaraam/chap-6-changes
Added a few changes to the "GitHub" chapter
- Loading branch information
Showing
3 changed files
with
20 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,14 +27,14 @@ Since you have no code there yet, GitHub will show you instructions for how to c | |
We won't belabor this here; if you need a refresher, check out <<_git_basics_chapter>>. | ||
|
||
Now that your project is hosted on GitHub, you can give the URL to anyone you want to share your project with. | ||
Every project on GitHub is accessible over HTTP as `https://github.com/<user>/<project_name>`, and over SSH as `[email protected]:<user>/<project_name>`. | ||
Every project on GitHub is accessible over HTTPS as `https://github.com/<user>/<project_name>`, and over SSH as `[email protected]:<user>/<project_name>`. | ||
Git can fetch from and push to both of these URLs, but they are access-controlled based on the credentials of the user connecting to them. | ||
|
||
[NOTE] | ||
==== | ||
It is often preferable to share the HTTP based URL for a public project, since the user does not have to have a GitHub account to access it for cloning. | ||
It is often preferable to share the HTTPS based URL for a public project, since the user does not have to have a GitHub account to access it for cloning. | ||
Users will have to have an account and an uploaded SSH key to access your project if you give them the SSH URL. | ||
The HTTP one is also exactly the same URL they would paste into a browser to view the project there. | ||
The HTTPS one is also exactly the same URL they would paste into a browser to view the project there. | ||
==== | ||
|
||
==== Adding Collaborators | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters