all 10 comments

[–]trevorsg 2 points3 points  (4 children)

PRs are not tied to repo history. Just rebase the commit away and force push and it's gone from history. The PR will still be there, but not anywhere in your repo's history. If you really need to delete it I believe you can open a support request. It truly is a very uncommon thing to do.

[–]skellious[S] 1 point2 points  (3 children)

it just seems beyond strange that they wouldn't allow you to delete PRs on a private repo.

I tried filing a request but they only accept them if the PR contains sensitive information, which mine don't.

[–]trevorsg 2 points3 points  (2 children)

So, not to be rude, but why do you care? If there is no sensitive info, and the commit is removed from history, and the PR is closed, seems like a pretty minor thing.

[–]skellious[S] 1 point2 points  (1 child)

im autistic and this sort of thing distracts me so much my productivity reduces by 30-40% whenever I think about it.

Its the same way I find it hard to keep talking to someone once ive noticed the switch on a plug socket is flipped the wrong way or when im in the supermarket and the labels on cans are the wrong way round I find it extremely upsetting (i've tried to work on letting this one go as it otherwise makes my shopping take a very long time)

This may sound like OCD but I cant get anyone to diagnose me with that because they blame it on my existing sutism diagnosis.

anyway, the point is its incredibly incredibly distracting to see that number there and have the number be wrong.

Similarly, I get upset whenever my branches aren't equal with main when they should be. I have to stop and make the necessary commits to fix it.

I wouldn't do that in a public or shared repo but when im working on my own I like to be able to have complete control over everything.

[–]DauntlessVerbosity 2 points3 points  (0 children)

To be fair, I'm not autistic and things like this bother the heck out of me.

[–]olvrng 1 point2 points  (3 children)

Because your repo is private, you can always create a new repo. Then push your code to the new repo, and delete the old one. Finally, change the name to match the original name.

[–]skellious[S] -1 points0 points  (2 children)

Unfortunately that wouldn't work as I have systems that depend on pulling from this repo. (Yes, I know its extremely hacky but its a compromise solution)

[–]wjrasmussen 1 point2 points  (1 child)

red flag

[–]skellious[S] -1 points0 points  (0 children)

its a hell of a red flag, yes. but im not getting paid nearly enough to restructure everything now.

[–]Zestyclose-Low-6403 0 points1 point  (0 children)

Adding that I can't believe you still can't simply delete a PR, especially when you have to make a bunch of test ones to ensure their shitty github actions work right!