Here’s a quick and fascinating tip for today: using git log –graph. If you’re ever puzzled about the direction of branches or how merges were executed
Text-based graph
Count your commits
Ever found yourself curious about how many commits you’ve contributed to a project? Or perhaps you’re interested in knowing which colleague has made significant changes
Interactive adding
Sometimes, the usual git add . or git commit -am commands just don’t cut it. Perhaps you need to split changes across multiple commits
Visualizing your repo
So, you’re looking to explore your repository in a whole new light. Tired of the command line, you crave graphs, pixels, buttons, and graphics.
Checkout tracked remote branch
I often find myself needing to perform this task when setting up or synchronizing my various machines, yet I always seem to forget the command.
Finding who committed what
In Git, pinpointing the author of a specific line of code can be essential for various reasons, from tracking down bugs to acknowledging efficient implementations.
Smartly save stashes
As I find myself relying more on stashing in Git, I’ve realized that the default output of git stash list isn’t always the most helpful
How git stores your data
This overview delves into the fundamental concepts of how Git organizes and stores data, offering essential insights for those learning Git.
Remote tracking branches
Are remote tracking branches leaving you feeling puzzled? You’re not alone. Let’s break it down. Essentially, there are two types of branches in Git