Current Git branch name in command prompt | martinvalasek.com

Current Git branch name in command prompt | martinvalasek.com.

You may want to add a new line at the end with:

\n\$

The new line is just before the $ symbol at the end. I’ve got used to the git-bash Windows prompt and prefer it that way. It also saves some space for your long commands.

JavaScript: from callback hell through then-hell to generators+promises

Lately I've been refactoring and then refactoring and then some one of my JS apps every time I ...

Learn more

About Iliyan Trifonov

Web Developer, Blogger
Tagged , , , , . Bookmark the permalink.