View source: R/accept_invite.R
accept_all_invites | R Documentation |
Given an a user name, accept all invites
accept_all_invites(git_pat = NULL, verbose = TRUE)
git_pat |
Whatever credentials are given are where invites will be accepted from. If none is supplied, then this will attempt to grab from a git pat set in the environment with usethis::create_github_token(). |
verbose |
TRUE/FALSE do you want more progress messages? |
a response from GitHub's API
## Not run:
# First, set up your GitHub credentials using `usethis::gitcreds_set()`.
# Get a GitHub personal access token (PAT)
usethis::create_github_token()
# Give this token to `gitcreds_set()`
gitcreds::gitcreds_set()
# All invites that have been sent to the PAT you have provided you will be accepted
accept_all_invites()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.