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
Copy file name to clipboardExpand all lines: version-control.Rmd
+26-27Lines changed: 26 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -662,17 +662,17 @@ to enable write access.
662
662
663
663
### Pulling changes from GitHub using Jupyter
664
664
665
-
Below we walk through how to use the Jupyter Git extension tool to pull changes
666
-
to our `eda.ipynb` analysis file that were made by our collaborator
665
+
We will now walk through how to use the Jupyter Git extension tool to pull changes
666
+
to our `eda.ipynb` analysis file that were made by a collaborator
667
667
(Figure \@ref(fig:git-pull-00)).
668
668
669
-
```{r git-pull-00, fig.cap = 'The GitHub interface indicates the name of the last person to push a commit to the remote repositoey, a preview of the associated commit message, the unique commit identifier, and how long ago the commit was snapshotted.', fig.retina = 2}
669
+
```{r git-pull-00, fig.cap = 'The GitHub interface indicates the name of the last person to push a commit to the remote repository, a preview of the associated commit message, the unique commit identifier, and how long ago the commit was snapshotted.', fig.retina = 2}
Usually, getting out of this situation is not too troublesome. First you need to
717
-
pull the changes that exist on GitHub that you do not yet have on your machine.
718
-
Usually when this happens, Git can automatically merge the changes for you,
719
-
even if you and your collaborators were working on different parts of the same
720
-
file!
716
+
Usually, getting out of this situation is not too troublesome. First you need
717
+
to pull the changes that exist on GitHub that you do not yet have in the local
718
+
repository. Usually when this happens, Git can automatically merge the changes
719
+
for you, even if you and your collaborators were working on different parts of
720
+
the same file!
721
721
722
-
If however, you and your collaborators made changes to the same line of the same
723
-
file, Git will not be able to automatically merge the changes---it will not know whether to keep your version of the line(s), your
724
-
collaborators version of the line(s), or some blend of the two. When this
725
-
happens, Git will tell you that you have a merge conflict and that it needs
726
-
human intervention (you!), and which file(s) this occurs in (Figure \@ref(fig:merge-conflict-03)).
722
+
If, however, you and your collaborators made changes to the same line of the
723
+
same file, Git will not be able to automatically merge the changes---it will
724
+
not know whether to keep your version of the line(s), your collaborators
725
+
version of the line(s), or some blend of the two. When this happens, Git will
726
+
tell you that you have a merge conflict in certain file(s) (Figure \@ref(fig:merge-conflict-03)).
727
727
728
728
```{r merge-conflict-03, fig.cap = 'Error message that indicates you and your collaborators made changes to the same line of the same file and that Git will not be able to automatically merge the changes', fig.retina = 2}
0 commit comments