J. Krom
J. Krom

Reputation: 25

How do I return the git bash terminal to its former coloured state?

I am on windows 10 and just had an issue with git bash.

When I was using git bash in the past month, it looked like the screenshot from this question.

However, something happened in the last week or so and now it looks like the one from this question instead.

I looked through the answers of both of those, and more, but none of them told me how to return it.

I tried installing/updating git through their website but that didn't help.

Upvotes: 0

Views: 472

Answers (2)

J. Krom
J. Krom

Reputation: 25

To fix this, I first reinstalled Git completely from scratch. I realised that launching it in administrator made it work properly. Next, I launched bash and ran the following commands: cd ~ explorer .

Which opened the login scripts directory. I deleted all the git created files in that directory, then restarted bash. This was the: .bash_history .bash_logout .bashrc .gitconfig .profile files.

Then, it started working again!

Upvotes: 1

Samit
Samit

Reputation: 615

Please try to add the below lines in your git config file and then restart the command prompt and run git commands.

[color]
branch = always
diff = always
interactive = always
status = always
ui = always

Upvotes: 0

Related Questions