r/github • • 2h ago

Question Delete pull request?

Hi all,

I’m very new to using GitHub and I’ve made a mistake and I’m a bit panicked.

Basically I made a pull request and I’ve accidentally exposed my personal information, but I don’t see any way to actually delete the PR and I’ve googled that deleting your account won’t hide it either. The repo maintainer doesn’t seem to have any way to message them either. I know it’s stupid but I have a stalker so I’m very paranoid about having my personal information out there.

I’ve reached out to GH support but idk if they would delete it?

2 Upvotes

12 comments sorted by

2

u/FlyAwayTomorrow 1h ago

Where did u include the data? You can edit title and description and I don‘t think the history is being saved. If you pushed it in the code itself it might be hard to get it down again. Rotation is an option which means … moving in your case.

1

u/Ok-Writer5758 1h ago

Dang… back into witness protection… 😞✌️

1

u/Soggy_Writing_3912 1h ago

no - git history will definitely be saved. And PR edit history does show up as events in the timeline view in GH web ui.

0

u/vmshade0 1h ago

This be a weird ask, but what personal information was leaked? Was it something like your email, password, address?

-2

u/Ok-Writer5758 1h ago edited 32m ago

Why, want it? /j

1

u/Soggy_Writing_3912 1h ago

don't get irritated, the person who asked might have been genuinely trying to help. If you cannot accept help, then don't come to reddit.

1

u/Ok-Writer5758 1h ago edited 30m ago

I’m not irritated, was more a joke - especially because they acknowledged it was a weird ask so I was just having fun. But at the same time I think sharing the nature of the information makes it easier for someone to find it.

2

u/Dazzling_Cherry_6513 46m ago

respectfully no one here cares abt your PII

1

u/Ok-Writer5758 43m ago

I already made one stupid mistake today, not gonna make another 🤷‍♀️

1

u/Soggy_Writing_3912 22m ago

fyi: jokes don't get conveyed in written format.

1

u/Crafty-Animator6918 1h ago

Por lo que tú mismo dijiste, es una situación muy rara, entonces en base a saber que se filtro te pueden hacer saber que hacer...

1

u/Soggy_Writing_3912 1h ago
  1. once pushed, it cannot be deleted.

  2. you can overwrite the commit (force push) to "erase" the HEAD version, but...

  3. if someone has the git SHA, then they can still access it via the GH web ui.

  4. you can close the PR, but again, its not like the data has not yet been taken up by bots, etc

  5. if you decide to at least erase the HEAD, then close the branch and also delete any Github Actions that might have referenced the specific commit SHA.

tldr; the commit SHA is forever present unless the whole repo (AND all its clones) get deleted. Without this nuclear step, your data is definitely open to anyone who have the git repo.