I want a script that can revert a commit in a different branch without relying on using my local tree.
I want to be able to run this script while having a dirty tree and not worrying about it.
According to the git docs, git revert
only works on the local tree. So I think this might require somehow creating a git tree that is a revert commit without using git revert?
Is this possible?
9