I gave up trying to use git revert
in my computer. Whenever I try to use it, I get an error Unlink of file Failed (Unlink of file' failed. Should I try again? (y/n)), and I tried implementing different solutions given on this website without much success.
So my question is: Is there any alternative that will create a new commit ID when reversing changes so that it's safe to use for remote collaboration? (Not reset, or restore since they don't create a new commit ID)
Could git rebase
be a solution? Since it essentially makes a copy of previous commit IDs? I'm just trying to think of alternatives at this point.