Skip to content

git remote add upstream could be confused with push --set-upstream in Remotes section #12

@BenGitsCode

Description

@BenGitsCode

I'm curious as why our instructions have them adding the remote singularly and not setting the upstream on a push.

Is there a pedagogical purpose to doing this (i.e. here's remotes in a nutshell and how to associate your local branch with a remote branch) but githubs instructions for connecting new local repos to remotes / creating repos always suggest the "set upstream on initial commit convention—and the developers will see that a lot.

I can see pedagogical value in starting with just adding remotes, and building up to what remotes and upstreams are, but it just struck me as unexpected.

I guess what I'm asking is would it grok easier with the developers if we called that fork or my-fork or something, to show that the remote name is just a variable we can change and that upstream is a convention.

This ties into #10 but I'm not clear on the consensus.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions