Skip to content
This repository was archived by the owner on Nov 25, 2022. It is now read-only.
This repository was archived by the owner on Nov 25, 2022. It is now read-only.

Add git alias for checking out a PR on GitHub? #129

@salcode

Description

@salcode

Previously (in version 1.x.x) we had this functionality as part of the bash aliases (which have since all been removed (see #120)).

# gpr 96, will fetch PR 96 create branch pull-request-96
gpr () { git fetch origin pull/$1/head:pull-request-$1; }

Do we want to add a git alias for this instead?

e.g. git ghpr 96

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions