forked from jennybc/happy-git-with-r
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
6 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,7 +106,12 @@ Feel free to skip this section if you are new to Git (we mention some concepts a | |
HTTPS remote URLs look like `https://github.com/<OWNER>/<REPO>.git`. | ||
SSH remote URLs look like `[email protected]:<OWNER>/<REPO>.git`. | ||
|
||
*TO ADD: screenshot of making this choice in GitHub* | ||
```{r} | ||
#| echo = FALSE, fig.show = "hold", | ||
#| out.width = "49%", out.height = "49%", | ||
#| fig.alt = "Getting an HTTPS or SSH URL from GitHub" | ||
knitr::include_graphics(c("img/github-https-url.png", "img/github-ssh-url.png")) | ||
``` | ||
|
||
When you execute a command such as `git push origin my-cool-feature-branch`, Git looks up the URL you've stored for the `origin` remote and uses the protocol implicit in the URL's format. | ||
The protocol is a game time decision. | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.