Skip to content

Prevent/guard destructive git operations #702

@k11kirky

Description

@k11kirky

Require explicit confirmation before running potentially destructive git commands (prevent auto branch deletion)

it nuked my feature branch that claude had made because it happened to make the same feat/xxx name - this was a major one

i think the git clobber thing is worth figuring out - 31:00it just happend to come up with same feature branch name as one i had already done and had an open pr forit then sort of deleted it and force pushed itself to clobber the branch i already had

context: https://posthog.slack.com/archives/C09G8Q32R6F/p1769696109237849?thread_ts=1769684738.671809&cid=C09G8Q32R6F

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions