Member-only story

Want to speed up how you use git?

tools for making you a more effective programmer

Avery Duffin
3 min readJul 10, 2019
Photo by Kevin Ku on Unsplash

Are you the kind of person who is still writing code in an editor with a white background? This article probably isn’t for you then. Since little things probably don’t bother you.

But of course if you want to learn how to increase your productivity while using the git command line, keep reading. This article should give you two new tools to add to your developer toolbelt.

Were going to be working in our .bashrc (linux) or .bash_profile (mac) sorry windows guys I don’t know how to do this on windows yet. If your not familiar with these then I recommend reading a bit about it here.

Git is dirty or is clean

When coding its a pain to come into your terminal and type git status every time you want to checkout a new branch.

Why not just let your terminal tell you the branch you are on and if it's dirty or clean by color.

In your .bash_profile or .bashrc add the following code.

--

--

Avery Duffin
Avery Duffin

Written by Avery Duffin

Im a software engineer, react developer, inventor, salesman, family man, religious, and outdoor connoisseur

Responses (6)