git branch -v
shows a very nice list of all branches with their refs and last commit title. I would like to include that information (i.e. branch name, ref and commit title) in the log output from a script, but I only want it for the currently active branch.
Is there a way to get git
to show me just the current branch?