When I used git log --graph to view the submission tree, git did not arrange the submission records in the order of submission time.
Commands I used:
git log --graph --pretty=format:'%C(bold red)%h %Creset- %C(bold yellow)%d %C(bold cyan)%s %C(bold green)[%cr] %C(bold magenta)[%cn] %C(bold green)[%ci]'
But when I use egit to view it, I can sort it by submission time. Is there an additional parameter to control it, or is it a bug? ?
git log --help Open the help document, search for Commit Ordering, and you will find a --date-order parameter, which can arrange submission records according to submission time.