Edit:
Everybody able to read should recognize, that I did not ask about how to resolve the problem I described (because I read what to do about this error pretty often but was unable to understand the solution), but which well-known name to pass to
git diff
in order to create the correct patch.
end edit
I cannot push into the remote repo because of some recurring reason, which (for me) makes working with branches impossible with git:
error: failed to push some refs to 'user@machine:/directory'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally.
So I decided to create some patch file and apply this patch in some clean directory. But I don't have any clue what well-known object name stands for Starting-branch-of-Branch-A in order to make certain, that I'm getting the correct patch. So what argument do I have to pass to
git diff
?