简体   繁体   English

在文件资源管理器中显示git分支

[英]Show git branch in file explorer

Is there any way I can show the current git branch of the directory in my file explorer? 有什么办法可以在我的文件浏览器中显示目录的当前git分支吗?

I am using nemo on Linux Mint. 我在Linux Mint上使用nemo

I know there are ways to show this up on terminal, but can it happen in a file explorer? 我知道有很多方法可以在终端上显示这个,但它可以在文件浏览器中发生吗?

File explorer has nothing to do with Git. 文件浏览器与Git无关。

In the terminal you use scripts for displaying branch name & commands (autocomplete) 在终端中,您使用脚本显示分支名称和命令(自动完成)

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

I think there are many tools available which provides GUI for GIT, 我认为有很多工具可以为GIT提供GUI,

Some popular Graphical Interfaces with it's supportive OS 一些流行的图形界面与它的支持操作系统

  • gitk - graphical history browser, in Tcl/Tk, distributed with Git (usually in gitk package) gitk - 图形历史浏览器,在Tcl / Tk中,与Git一起发布(通常在gitk包中)
  • GitForce Git tool with Graphical user interface, available under GNU GPL license 带有图形用户界面的GitForce Git工具,可在GNU GPL许可下使用
  • git-cola - uses PyQt4 git-cola - 使用PyQt4

There is also SmartGit , it is very user friendly. 还有SmartGit ,非常人性化。 (Not free for commercial use) (不可免费用于商业用途)

You can also install git-gui from terminal by typing 你也可以通过输入从终端安装git-gui

sudo apt-get install git-gui

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM