Hacker News new | past | comments | ask | show | jobs | submit login

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>...]'



Retype 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.


Should be:

    git log --graph --oneline --decorate


Thanks for correcting my error. Stupid “smart” dashes on my phone.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: