My situation is that a massive, 2GB file has been inadvertently pushed to our remote git repo on Azure DevOps. I noticed this when reviewing the pull request.
I cannot have a file that big in my repo and need to delete it. From the history as well. I don't want someone cloning the repo to pull down a pointless 2 GB file
The checkin is still on a branch. It has not been merged to the master. But it is on the remote repo
As long as nobody else is using this branch, is it safe for my user to do a git reset on this branch? I'm told that a git revert will not delete the file from the history and that I need a git reset.
Is this my path to a fix?