This is a quick tutorial that shows you how to set up logs for Git that will only display commits from your current branch!
First, you'll need to set up a helper file that contains some Bash functions
that Git will use. I placed mine in .githelpers
.
Here are the scripts you'll need. If you use a different format, remove the --pretty=colored
argument, or change colored
to the name of the format you use.