0

I've pushed a file that has my email password to GitHub followed by many commits afterward. Each commit has my old data i.e. password. How can I delete my password from all commits?

hashfx
  • 1
  • 2
  • Note that depending on your definition of "not deleting history", it's not possible. – mkrieger1 Jul 23 '22 at 12:27
  • This should work tolerably https://github.com/github/docs/blob/main/content/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository.md – hashfx Sep 11 '22 at 14:25

0 Answers0