Skip to content

pr_finish() should check if local branch is ahead of remote #805

@maurolepore

Description

@maurolepore

Ups, I lost the PR (luckily just one line). I run pr_fetch(), committed, then run pr_finish() without running pr_push(). Silly my -- I should have pushed. I guess I didn't know what to expect and didn't read the docs (oh no!). Am I the only one learning this the hard way? Would it make sense for pr_finish() to check against the remote and ask to confirm if the local repo is behind?

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancementgitgit, 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