0% found this document useful (0 votes)
129 views1 page

12ft - Use Git Like A Senior Engineer. Git Is A Powerful Tool That Feels Great - by Jacob Bennett - Level Up Coding

The document discusses using the 'git log' command with additional parameters to provide a more useful summary of commits in a Git repository. Specifically, it recommends using '--graph' to visualize commit history as a graph and '--format' to customize the log output, making it easier to understand what has been happening in a project from the commit history at a high level.

Uploaded by

bussard
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
129 views1 page

12ft - Use Git Like A Senior Engineer. Git Is A Powerful Tool That Feels Great - by Jacob Bennett - Level Up Coding

The document discusses using the 'git log' command with additional parameters to provide a more useful summary of commits in a Git repository. Specifically, it recommends using '--graph' to visualize commit history as a graph and '--format' to customize the log output, making it easier to understand what has been happening in a project from the commit history at a high level.

Uploaded by

bussard
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

24/04/2023, 21:03 12ft | Use Git like a senior engineer.

ineer. Git is a powerful tool that feels great… | by Jacob Bennett | Level Up C…

Open in app Sign up Sign In

Search Medium

git log

Let’s be real. These logs aren’t impressing anyone. They are boring. And they’re
full of information that you don’t really need right now. You’re trying to get a high-
level understanding of what has been going on in your project.

There’s a better way.

git log with more visibility


Using --graph and --format we can quickly get a summary view of git commits in
our project.

git log --graph --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%a

https://12ft.io/proxy?q=https%3A%2F%2Fround-lake.dustinice.workers.dev%3A443%2Fhttps%2Flevelup.gitconnected.com%2Fuse-git-like-a-senior-engineer-ef6d741c898e 1/1

You might also like