Thank you for the help and the follow up Ariel, For the sake of full documentation, here is the case:
https://github.com/treeverse/lakeFS/issues/2579#issuecomment-948455895
Per your comments - Now I understand we
do allow reverting changes from another branch (even though they never occurred on this branch).
I’ve tested this on my environment with:
Main : A--B--C
Branch from B and then C--D
And then reverting the B commit from the Branch. And it worked fine.
Thank you for your help!
Iddo