Show git branch in file explorer

3.4k Views Asked by At

Is there any way I can show the current git branch of the directory in my file explorer?

I am using nemo on Linux Mint.

I know there are ways to show this up on terminal, but can it happen in a file explorer?

2

There are 2 best solutions below

3
On BEST ANSWER

I think there are many tools available which provides GUI for GIT,

Some popular Graphical Interfaces with it's supportive OS

  • gitk - graphical history browser, in Tcl/Tk, distributed with Git (usually in gitk package)
  • GitForce Git tool with Graphical user interface, available under GNU GPL license
  • git-cola - uses PyQt4

There is also SmartGit, it is very user friendly. (Not free for commercial use)

You can also install git-gui from terminal by typing

sudo apt-get install git-gui
3
On

File explorer has nothing to do with Git.

In the terminal you use scripts for displaying branch name & commands (autocomplete)

git-completion.bash or add-git-branch-name-to-terminal-prompt