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
Repositories can be setup with a variety of configurations, including a name,
322
+
Repositories can be set up with a variety of configurations, including a name,
323
323
optional description, and the inclusion (or not) of several template files.
324
324
One of the most important configuration items to choose is the visibility to the outside world,
325
325
either public or private. *Public* repositories \index{repository!public} can be viewed by anyone.
@@ -330,7 +330,7 @@ To get started with a *public* repository having a template `README.md` file, ta
330
330
following steps shown in Figure \@ref(fig:new-repository-02):
331
331
332
332
1. Enter the name of your project repository. In the example below, we use `canadian_languages`. Most repositories follow a similar naming convention involving only lowercase letter words separated by either underscores or hyphens.
333
-
2. Choose an option for the privacy of your repository
333
+
2. Choose an option for the privacy of your repository.
334
334
3. Select "Add a README file." This creates a template `README.md` file in your repository's root folder.
335
335
4. When you are happy with your repository name and configuration, click on the green "Create Repository" button.
### Creating files on GitHub with the "Add file" menu
400
400
401
401
The "Add file" menu \index{GitHub!add file} can be used to create new plain text files and upload files
402
-
from your computer. To create a new plain text file, click the "Add file" drop
403
-
down menu and select the "Create new file" option
402
+
from your computer. To create a new plain text file, click the "Add file"
403
+
drop-down menu and select the "Create new file" option
404
404
(Figure \@ref(fig:create-new-file-01)).
405
405
406
406
```{r create-new-file-01, fig.cap = 'New plain text files can be created directly on GitHub.', fig.retina = 2, out.width="100%"}
@@ -420,7 +420,7 @@ Note that GitHub understands and renders `.md` files \index{markdown} using a
420
420
very similar to Jupyter notebooks, so the "Preview" tab is especially helpful
421
421
for checking markdown code correctness.
422
422
423
-
```{r create-new-file-02, fig.cap = 'New plain text files require a filename in the text box circled in red, and file content entered in the larger text box (red arrow).', fig.retina = 2, out.width="100%"}
423
+
```{r create-new-file-02, fig.cap = 'New plain text files require a file name in the text box circled in red, and file content entered in the larger text box (red arrow).', fig.retina = 2, out.width="100%"}
Add an issue title (which acts like an email subject line), and then put the
901
-
body of the message in the larger text box. Finally click "Submit new issue"
901
+
body of the message in the larger text box. Finally, click "Submit new issue"
902
902
to post the issue to share with others (Figure \@ref(fig:issue-03)).
903
903
904
904
```{r issue-03, fig.cap = 'Dialog boxes and submission button for creating new GitHub issues.', fig.retina = 2, out.width="100%"}
@@ -943,5 +943,5 @@ you can expand your knowledge through the resources listed below:
943
943
- GitHub's [guides website](https://guides.github.com/) and [YouTube channel](https://www.youtube.com/githubguides),
944
944
and [*Happy Git with R*](https://happygitwithr.com/) are great resources to take the next steps in learning about Git and GitHub.
945
945
-[Good enough practices in scientific computing](https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1005510#sec014)[-@wilson2014best] provides more advice on useful workflows and "good enough" practices in data analysis projects.
946
-
- In addition to [GitHub](https://github.com), there are other popular Git repository hosting services such as [GitLab](https://gitlab.com) and [BitBucket](https://bitbucket.org). Comparing all of these options is beyond the scope of this book, and until you become a more advanced user you are perfectly fine to just stick with GitHub. Just be aware that you have options!
946
+
- In addition to [GitHub](https://github.com), there are other popular Git repository hosting services such as [GitLab](https://gitlab.com) and [BitBucket](https://bitbucket.org). Comparing all of these options is beyond the scope of this book, and until you become a more advanced user, you are perfectly fine to just stick with GitHub. Just be aware that you have options!
947
947
-[GitHub's documentation on creating a personal access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token) and the *Happy Git with R*[cache credentials for HTTPS](https://happygitwithr.com/credential-caching.html) chapter are both excellent additional resources to consult if you need additional help generating and using personal access tokens.
0 commit comments