Closed nhhung1810 closed 4 months ago
From what I check from my terminal, this look like a typo error. If I use commiterdate
$ git for-each-ref --sort=commiterdate
fatal: unknown field name: commiterdate
If I change to committerdate
$ git for-each-ref --sort=committerdate
6b5176bdb59451b69e089404a6ad8fb123d8ebc6 commit refs/heads/main
But why is this typo occur in my machine? Is there any config I can change to modify this behavior?
I solve the problem now. It's turn out that when I change the global .gitconfig
file, I have some typo:
[branch]
sort = -committerdate
# sort = -committerdate -> this is the incorrect one
Sorry for the inconvenience!
Describe the Bug One day I open Git Graph and got this message: "Error: Unable to load Repository Info fatal: unknown field name: commiterdate"
Steps to Reproduce Steps to reproduce the behaviour: Just open the Git Graph and got the above message immediately. Did try to restart the computer but have no luck.
Expected Behaviour A normal Git Graph.
Environment
Screenshots (optional)
Additional Context (optional) This is the Git Graph log provided by VSCode Task view