Skip to content

gps rr: don't push to remote if the remote branch contains commits without a ps-id #293

@Talor-A

Description

@Talor-A

hey all! loving using gps for my daily git workflows. I'm noticing a small rough edge with the tool it would be good to have some safeguards for. the docs note that if you gps rr a branch that might've had external changes committed to it, we'll force push overwrite those changes. I wonder if it would be possible to first check for a ps-id in each commit in the remote branch, and abort the change if so?

maybe this is possible to implement today, with hooks?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions