I'm trying to get the reversed output from
git log --branches --graph --oneline
(Sadly, you can't pass --reverse
to it, because it says it's incompatible with --graph
.)
Is there a way to reverse the output of the command?
bashgit
I'm trying to get the reversed output from
git log --branches --graph --oneline
(Sadly, you can't pass --reverse
to it, because it says it's incompatible with --graph
.)
Is there a way to reverse the output of the command?
Best Answer
On Linux, add
| tac
at the end of your line.