List the remote branches where you were the last committer

Published on March 29, 2015

Git doesn’t track who created branches. This makes it difficult to keep track of your own branches when you have a lot of them checked out locally.

To remedy this, I wrote a shell script that gets all the remote git branches and filters them out based on the last committer. It then lists the ones where you were the last committer.

You can find the script here:

Here’s a screenshot of it in action:
Screenshot of git-my