git alias fatal: ambiguous argument '%ad': unknown revision or path not in the working tree

Прохожу курс https://githowto.com/ru/aliases. Возникла проблема, при вводе git log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short возникает ошибка

fatal: ambiguous argument '%ad': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

Пробовал менять кавычки git log --pretty='format:\"%h %ad | %s%d [%an]\"' --graph --date=short, но получал тоже самое. Как исправить?


Ответы (0 шт):