app: Run the Branch Mover App

Description Usage Arguments Details Value

View source: R/app.R

Description

Run the Branch Mover App

Usage

1
app(username = NULL, include_fork = FALSE, include_private = TRUE)

Arguments

username

The user name or organization name whose repos you would like to move. If the username is NULL or the same as the authenticated user, you can use branchMover to change the default branch of private repos. Otherwise, the GitHub API doesn't allow us to list private repos for organizations (or, if they do, please let me know!).

include_fork, include_private

Should forks (default FALSE) or private repos (default TRUE) be included?

Details

The Branch Mover app helps you move the default branches of your repositories on GitHub. For more details about how this works or why you'd want to use Branch Mover, please see the blog post: https://www.garrickadenbuie.com/blog/branchmover/

The app uses the usethis and gh packages. You need to configure gh with a Personal Access Token to be able to authenticate with the GitHub API. Read more about setting up a PAT in one of these places:

Value

Runs a Shiny app. Your settings and preferences are remembered between sessions using RStudio user preferences.


gadenbuie/branchMover documentation built on Dec. 20, 2021, 9:44 a.m.