Some of my PRs were closed and deleted

Hello,

I’ve noticed that some of my PRs were closed and branches deleted few days ago:

My account is secure, I do have a good password and 2FA. I am not aware I was closing these, I do not use any 3rd party apps. I do use Notifications (beta) feature extensively on every-day-basis tho.

I have contacted github to investigate this. Have anyone experience the same? Thanks.

Did you use git push myremote :mybranch by any chance? That’s how you can delete remote branches.

3 Likes

Oh boy! I was cleaning up my branches with git xcleaner:

And indeed I accidentally deleted those! Thanks! :slight_smile:

(BTW I still highly recommend this tool, it’s awesome but you need to interactively check what not to delete.)

1 Like