git tree

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”

Leave a Reply to bartman Cancel reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s