if by error committed a passwords file how can delete it?

LeonidasSavvidesMBP16 April 20, 2017

if by error committed a passwords file how can delete it? this is already in bibucket....

1 answer

0 votes
Kelly Schoenhofen April 20, 2017

Well, you're in for an uphill battle. It's really hard to truly delete past history in git, but you can try if it hasn't spread far. 

If ABC is the name of your password file, you could do something like this:

git filter-branch --tree-filter "rm -rf ABC" --prune-empty HEAD

then push the change up. Try that. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events