Skip to content

Better default 'into' branch #51

Description

@markalfred

Instead of defaulting to origin/master, default to local master's upstream branch. In 99.9% of cases, this will be master. Sometimes, though, a user might want to set their local master to some faux-master topic branch.

git rev-parse --abbrev-ref --symbolic-full-name "master@{u}"

will return origin/master.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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