Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I committed a file that contained a password - some time ago. How do I get rid of it in every commit? #86

Open
jeffsilverm opened this issue Jan 6, 2021 · 3 comments

Comments

@jeffsilverm
Copy link

This happened to me, and I did eventually deal with it.

I came across Git How-to: Remove your password from a repository by David Verhasselt.

I recommend you contact David and ask him if you can use it. Or I can contact him and ask on your behalf, as you prefer.

/Jeff

@mdavis-xyz
Copy link

I have the same use case, for a very large file. I want to completely erase it from my repo's history.

@MattJenko
Copy link

If I can find it, there's a way to list the largest objects in a repo so they can be deleted. Assuming it's a code repo and large objects are typically binaries.

@MattJenko
Copy link

Also this is only a solution if the repo has not yet been made public. The minute more than one person has a copy, that key/password is compromised.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants