Skip to content

Function to do the remote rename dance #649

@jimhester

Description

@jimhester

When people first start contributing to a package one of the first major roadblocks is they likely have cloned the repo from the initial repo rather than from a fork. So they have to

  1. rename the origin remote to upstream then add the new remote as origin
  2. or burn it all down and re-clone from their fork, then add the origin as upstream later.

As far as I know there is no real way to do either step without needing command line git or something like Sourcetree, so it ends up being a pretty big hurdle for new contributors.

Metadata

Metadata

Assignees

Labels

featurea feature request or enhancementgitgit, GitHub, and CI in general

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions