Skip to content

Commit

Permalink
reuse code section from below
Browse files Browse the repository at this point in the history
  • Loading branch information
avallecam committed Jan 14, 2025
1 parent 579b2ba commit fcf9920
Showing 1 changed file with 6 additions and 21 deletions.
27 changes: 6 additions & 21 deletions episodes/02-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,36 +107,21 @@ If you elect to use a private email address with GitHub, then use that same emai

::::::::::::::::::::::::::::::::::::::::::::::::::

Use `usethis::git_sitrep()` to check if the information was added to the Git configuration:
Let's confirm your setting. Run:

```r
usethis::git_sitrep()
```

In the `── Git global (user)` section, the two first lines of the output should look like this:

```output
── Git global (user)
• Name: "Vlad Dracula"
• Email: "vlad@tran.sylvan.ia"
• Global (user-level) gitignore file:
• Vaccinated: FALSE
ℹ See `usethis::git_vaccinate()` to learn more.
• Default Git protocol: "https"
• Default initial branch name: "master"
── GitHub user
• Default GitHub host: "https://github.com"
• Personal access token for "https://github.com":
<unset>
☐ To create a personal access token, call
usethis::create_github_token().
☐ To store a token for current and future use, call
gitcreds::gitcreds_set().
ℹ Read more in the Managing Git(Hub) Credentials
article.
ℹ No active usethis project.
• Name: 'Vlad Dracula'
• Email: 'vlad@tran.sylvan.ia'
```

To have a clean situation report output, let's follow those two steps.
To complete the configuration, let's follow the steps suggested in the situation report.

<!--
Expand Down

0 comments on commit fcf9920

Please sign in to comment.