3 ms·
TRIED: git log —-graph —-oneline —-decorate GOT: fatal: ambiguous argument '—-graph': unknown revision or path not in the working tree. Use '--' to separate pat
by galaxyLogic 6y ago
TRIED: git log —-graph —-oneline —-decorate
GOT:
fatal: ambiguous argument '—-graph': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
- OJFord 6y agoRetype the dashes, you've posted something different to GP, em dash en dash, or something, presumably your browser/clipboard/term did something funky when you copied.
- alwillis 6y agoShould be: git log --graph --oneline --decorate
- divbzero 6y agoThanks for correcting my error. Stupid “smart” dashes on my phone.