Re: [PATCH] In `git log --graph`, default to --pretty=oneline --abbrev-commit
- From
Alex Henrie <alexhenrie24@gmail.com>
- Date
- Mar 25, 2019, 05:16 UTC
- Message-ID
- <CAMMLpeStw=qg50nbAkuKRTUTvkAhjw8kvZxxrAmTcfuK4L8cmA@mail.gmail.com>
- In-Reply-To
- <CAMMLpeQGz85ogLgKX6DBMyz0wpRvW9fXCpK87m+JoT9i7hw1Kw@mail.gmail.com>
On Sun, Mar 24, 2019 at 11:10 PM Alex Henrie <alexhenrie24@gmail.com> wrote:
Show 6 quoted lines
> > I like the idea of a completely separate `git graph` command. This > command would simply be a builtin alias for `git log --abbrev-commit > --pretty=oneline`, like how `git reflog` is a builtin alias for `git > log -g --abbrev-commit --pretty=oneline`. Junio, would you be on board > with that?
Sorry, I left off the --graph parameter. You can set up what I'm proposing as a personal alias with the following command:
git config --global alias.graph 'log --graph --abbrev-commit --pretty=oneline'
-Alex