re: Remove accidentally pushed file from a git repository history in 4 simple steps VIEW POST


I agree with Joe, use git push -f with caution.

Warning: It is considered bad practice to rebase commits which you have already pushed to a remote repository. Doing so may invoke the wrath of the git gods.


Agree, I will add a warning thank you @joe and Eugene for the feedback

code of conduct - report abuse