Just a quick one based on today’s git ready: text-based graph. That describes how to get nice ascii-charts of your git repo. But the command is too long to type. So:
git config --global alias.tree 'log --graph --pretty=oneline'
Now, I can just do git tree
. Lovely.
3 replies on “git tree”
Good idea. I added abbreviated IDs…
Oooh, that’s lovely. Thanks!
Now add
--decorate
and then use--all
as needed, and you’ll never again mourn the inability to rungitk
on a repository you’re working on while SSHed into a server.