You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
```{r out-of-order-3, echo = FALSE, fig.cap = 'Code that was written out of order, and was executed in a linear order using "Restart Kernel and Run All Cells..." This resulted in an error at the execution of the second code cell and it failed to run all code cells in the notebook.', fig.retina = 2, out.width="100%"}
263
+
264
+
(ref:out-of-order-3) Code that was written out of order, and was executed in a linear order using "Restart Kernel and Run All Cells..." This resulted in an error at the execution of the second code cell and it failed to run all code cells in the notebook.
Copy file name to clipboardExpand all lines: version-control.Rmd
+43-17Lines changed: 43 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -267,7 +267,7 @@ If you are working on a project with collaborators, they will also be making cha
267
267
(e.g., to the analysis code in a Jupyter notebook and the project's README file),
268
268
committing them to their own local repository, and pushing their commits to the remote GitHub repository
269
269
to share them with you. When they push their changes, those changes will only initially exist in
270
-
the remote GitHub repository and not in your local repository (Figure \@ref(fig:vc2-changes)).
270
+
the remote GitHub repository and not in your local repository (Figure \@ref(fig:vc6-remote-changes)).
271
271
272
272
```{r vc6-remote-changes, fig.cap = 'Changes pushed by collaborators, or created directly on GitHub will not be automatically sent to your local repository.', fig.retina = 2, out.width="100%"}
To obtain the new changes from the remote repository on GitHub, you will need
278
278
to **pull** \index{git!pull} those changes to your own local repository. By pulling changes,
279
-
you synchronize your local repository to what is present on GitHub.
279
+
you synchronize your local repository to what is present on GitHub (Figure \@ref(fig:vc7-pull)).
280
280
Additionally, until you pull changes from the remote repository, you will not
281
281
be able to push any more changes yourself (though you will still be able to
282
282
work and make commits in your own local repository).
@@ -310,7 +310,9 @@ your project by clicking on the "+" icon in the upper right
310
310
hand corner, and then on "New Repository," as shown in
311
311
Figure \@ref(fig:new-repository-01).
312
312
313
-
```{r new-repository-01, fig.cap = 'New repositories on GitHub can be created by clicking on "New Repository" from the + menu.', fig.retina = 2, out.width="100%"}
313
+
(ref:new-repository-01) New repositories on GitHub can be created by clicking on "New Repository" from the + menu.
```{r upload-files-02, fig.cap = 'Specify files to upload by dragging them into the GitHub website (red circle) or by clicking on "choose your files." Uploaded files are also required to be committed along with an associated commit message.', fig.retina = 2, out.width="100%"}
454
+
(ref:upload-files-02) Specify files to upload by dragging them into the GitHub website (red circle) or by clicking on "choose your files." Uploaded files are also required to be committed along with an associated commit message.
@@ -485,7 +489,9 @@ copy that knows where it was obtained from so that it knows where send/receive
485
489
new committed edits. In order to do this, first copy the URL from the HTTPS tab
486
490
of the Code drop down menu on GitHub (Figure \@ref(fig:clone-02)).
487
491
488
-
```{r clone-02, fig.cap = 'The remote address (URL) corresponding to the location of the remote GitHub repository can be found in the green "Code" drop down menu.', fig.retina = 2, out.width="100%"}
492
+
(ref:clone-02) The remote address (URL) corresponding to the location of the remote GitHub repository can be found in the green "Code" drop down menu.
Clicking the plus sign (+) moves the file from the "Untracked" heading to the "Staged" heading,
547
555
flagging this file so that Git knows we want a snapshot of its current state
548
-
as a commit (Figure \@ref(fig:git-add-02)).
556
+
as a commit (Figure \@ref(fig:git-add-03)).
549
557
Now we are ready to "commit" the changes.
550
558
Make sure to include a (clear and helpful!) message about what was changed
551
559
so that your collaborators (and future you) know what happened in this commit.
552
560
553
-
```{r git-add-03, fig.cap = 'Once added, the `eda.ipynb` file is visible in the staging area, labeled as "Staged" in the Jupyter Git extension tool.', fig.retina = 2, out.width="100%"}
561
+
(ref:git-add-03) Once added, the `eda.ipynb` file is visible in the staging area, labeled as "Staged" in the Jupyter Git extension tool.
0 commit comments