Showing git branch in ConEMU

前端 未结 5 704
别跟我提以往
别跟我提以往 2021-02-08 07:04

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

5条回答
  •  旧巷少年郎
    2021-02-08 07:47

    Yes there is a way. Install git bash, then in ConEmu settings, under the "ComSpec" section set the Explicit executable to "C:\Program Files (x86)\Git\bin\sh.exe" --login -i.

    This runs a bash shell session, and gives you a fully resizable window, with the git tab completion and current working branch prompt.

提交回复
热议问题