My favorite Git Command

My favorite Git command is:

git lola

This is an alias of the git log command

 git config --global alias.lola "log --graph --decorate --pretty=oneline --abbrev-commit --all --date=local"

I like it a lot because it shows the log of all the commits in the repository, and it also has some color to highlight the different branches.

Output of a Git command

I learned about this command when I started working full time as a software engineer and I think that it has saved me a lot of time and headache. I hope it is useful to you too!

Leave a comment

Design a site like this with WordPress.com
Get started