2

When looking for an alternative for the cool feature in ITerm(mac) which shows the branch we are on:

enter image description here

I found out that:

If you are on Windows, you probably aren't reading this because Windows provides this behavior by default.

I had no idea that it is in here by default. How to do it?

1
  • Look at the PS1 environment variable. Commented Mar 8, 2018 at 20:37

2 Answers 2

2

If you're using git through their console (Git Bash), it is there by default and you don't have to do anything to access it.

Git Bash console

If you don't have it already, download Git Bash - that's what I'm using in the image above.

Sign up to request clarification or add additional context in comments.

Comments

0

You can use Cmder a console emulator for windows : http://cmder.net/

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.