Skip to content

create_from_github(fork = TRUE) erroring because upstream is already set #2061

Open
@jennybc

Description

Not sure why this suddenly started to happen, but when I get here, upstream is somehow already configured 🤔 And since we haven't set overwrite to TRUE, we error.

usethis/R/git.R

Line 258 in 2cc9e5a

if (name %in% names(remotes) && !overwrite) {

Called from

use_git_remote("upstream", upstream_url)

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behaviorgitgit, GitHub, and CI in general

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions