Showing git branch in ConEMU

Nick Ginanto picture Nick Ginanto · Nov 21, 2012 · Viewed 10.5k times · Source

Is there a way to show the branch in git somewhere visually (background or similiar) in ConEmu?

Answer

Maximus picture Maximus · Jan 22, 2014

Git branch can be visible in plain cmd or Far Manager prompt.

GIT branch in cmd prompt

All magic is done with special ANSI sequences ("Inject ConEmuHk" and "ANSI X3.64 ..." options must be checked). I Run GitShowBranch /i to install showing branch, GitShowBranch /u to uninstall.

Also, you may run your cmd as following (within Task contents or ConEmu's Command line)

cmd /k ver & GitShowBranch /i

PS. File GitShowBranch exists in ConEmu's distro, but you may see it online.