Detailed log view - Git

Sometimes ago, I found a nice Git combination. Which's really handy, and I use it a lot to have a pretty log overview.

Here is an example (this log from consul-ssh-conf-generator repo):

git log --all --decorate --oneline --graph

*   a7ac8cd (tag: v1.0.1, origin/master, master) version 1.0.1
| * d3366e5 deploy binaries to github and enhance docker image build
| * a04ad5c create makefile to build and release binaries
*   5e9de8a (tag: v1.0.0) Merge pull request #1 from AAbouZaid/devel
| * aa3bc95 add README.md
| * 03893af build and push docker image on master only
| * 19e4bf7 .travis.yml to deploy docker image
* bf6fe4f make ConsulNodes in a single type
* b8152f9 use template as a var for sake of simplicity
* bc4e79d multistage docker file to build and run the app

Actually as a shortcut, it's much easier:

git config --global alias.adog "log --all --decorate --oneline --graph"

So now it's just git adog.
This nice view makes it easy to follow the branches in the repo.
Happy coding!

Powered by Blogger.

Hello, my name is Ahmed AbouZaid, I'm a passionate Tech Lead DevOps Engineer. 👋

With 16+ years of open-source contributions, 12+ years of professional hands-on experience in DevOps, and an M.Sc. in Data Engineering from Edinburgh Napier University (UK), I enjoy facilitating the growth of both businesses and individuals.

I specialize in Cloud-Native and Kubernetes. I'm also a Free/Open source geek and book author. My favorite topics are DevOps transformation, automation, data, and metrics.

Contact Me


Email *

Message *

Start Your DevOps Engineer Journey!

Start Your DevOps Engineer Journey!
Start your DevOps career for free the Agile way in 2024 with the Dynamic DevOps Roadmap ⭐

Latest Post

2023 Highlights

Image generated with Craiyon . Finally, 2023 is over! What a year! One more crazy year, but it was the culmination ...

Popular Posts

Blog Archive