Skip to content

Commit

Permalink
Do and don't repeat myself
Browse files Browse the repository at this point in the history
  • Loading branch information
jennybc committed Oct 16, 2020
1 parent 5e04f97 commit bed1606
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions connect-credential-caching.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,7 @@ library(gitcreds)
gitcreds_set()
```

This allows you to keep or view any existing credentials and replace them or store a credential for the first time.
`gitcreds::gitcreds_set()` is a very handy function, since it reports any current credential, allows you to see it, and allows you to keep or replace a credential.
`gitcreds::gitcreds_set()` is a very handy function, since it reports any current credential, allows you to see it, allows you to keep or replace an existing credential, and can also store a credential for the first time.

Respond to the prompt with your personal access token (PAT).

Expand All @@ -141,6 +140,8 @@ library(credentials)
set_github_pat()
```

Respond to the prompt with your personal access token (PAT).

If successful, your initial (and subsequent) calls will look like this:

```{r eval = FALSE}
Expand Down

0 comments on commit bed1606

Please sign in to comment.