I forgot to delete a comment line in my commit and wonder how to delete a specific I don't want to use git revert
because I already pushed other commits. I do the git-filter-repo
method but it throw me an error of on git push origin --force --all
.
I just want to delete the commit to cleanup the history of Github...
I already do this once but don't remember how. I checked the Git doc but doesn't find the way to do it and I don't understand why Gitguardian doesn't allow us to remove these. I am the only one on this project an no one has forked/cloned the project. This is also a public folder.
Any advice ?