I have a git branch containing slash in its name, e.g. my/branch
Now when I want to see my local commits (the commits which are local only and not pushed to the remote) by running
git log origin/my/branch..HEAD
git brings the following error message:
fatal: ambiguous argument 'origin/my/branch..--HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'
I don't quite understand how to use this hint by git. How can I view my local commits in this case?