Basically all I want is to git checkout --ours A to /tmp/A.ours and git checkout --theirs /tmp/A.theirs without changing the current A
git checkout --ours A
/tmp/A.ours
git checkout --theirs /tmp/A.theirs