Skip to content

Commit

Permalink
More refresh re: remote setups
Browse files Browse the repository at this point in the history
  • Loading branch information
jennybc committed Oct 19, 2021
1 parent c5d9930 commit 8456deb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions remote-setups-common.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ You have a fork of the source repo (a very special copy, on GitHub) and it is co
You can push to and pull from `origin`.
You can make a pull request back to the source repo via your fork.

usethis describes this setup as "fork".

How to achieve:

* With usethis: `usethis::create_from_github("OWNER/REPO", fork = TRUE)`
Expand Down
4 changes: 2 additions & 2 deletions remote-setups-equivocal.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Just like the previous section about the most common setups, we only consider a
* The remote is named `origin` or `upstream`.

The setups described here are characterized by *incomplete information*.
This section exists mostly to explain feedback that the usethis package might give about a GitHub remote configuration. *2020-10 note: this currently refers to features in a development version of usethis. These features will appear in usethis v2.0.0.*
This section exists mostly to explain feedback that the usethis package might give about a GitHub remote configuration.

To identify any of the remote setups described in section \@ref(common-remote-setups), we need information from GitHub:

Expand All @@ -20,7 +20,7 @@ This means that programmatic access to this information, i.e. requests to the Gi
This means that client packages, like usethis, work best when you have configured a GitHub personal access token (PAT).
See section \@ref(get-a-pat) for more details on why and how to do that.

(If you've configured a PAT and are being told your GitHub config is problematic, consider these other explanations: Are you offline? Is GitHub down?)
If you've configured a PAT and are being told your GitHub config is problematic, consider these other explanations: Are you offline? Is GitHub down? Has your PAT expired? By default, they now expire after 30 days.

## Maybe "ours" or "theirs"

Expand Down

0 comments on commit 8456deb

Please sign in to comment.