I was toying with a syntax to refer a commit by its commit message and then I got this error:
$ git show :/A fatal: ambiguous argument ':/A': both revision and filename Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]' The error message is pretty clear about how to solve it, but I haven't found any documentation explaining how does git interpret a colon followed by a path. Only if followed by a branch name.
Can you please give me some references to learn more about this?