Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> When you poke at your repo on the command line, you never get to see it as a unified whole. All you can do is try a command, see what it prints out, and try to make a mental model of what this all means.

Or simply learn to use the git commands right. Then it shows you everything the UI tool would show.

I recommend everybody adding this to their ~/.gitconfig

    [alias]
        lol = log --oneline --graph --decorate
        lola = log --oneline --graph --decorate --all
        lols = log --oneline --graph --decorate --all --max-count=10
Then you can simply do a `git lol` or `git lola` to get the same result as your fancy UI is showing you. And it also works via ssh. If you've manually typed that alias in a few times you will also remember it and have it readily available when you ssh into a customer server etc.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: