Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GUI for bare git repo

Is there a GUI for a bare git repo directory ( there is no working tree anywhere ) that I can:

  • Check logs
  • See the whole working tree structure for any commits

Regarding to why I need this:

My git is init as this: git --git-dir=xx --work-tree=yy init ( Add/commit to bare repo from a non-git folder )

I couldn't find a tool can work with this situation ( separated working tree and repo )

like image 949
Tom Fishman Avatar asked Oct 09 '11 00:10

Tom Fishman


People also ask

Does git have a GUI?

Git comes with built-in GUI tools for committing (git-gui) and browsing (gitk), but there are several third-party tools for users looking for platform-specific experience.

How do I open an existing git repository in GUI?

Start “Git Commit Tool” with a right click, stage the file by clicking on the icon next to the filename, add a message and the click commit. Open Git history from the Git Gui, choose the “Repository” menu, “Visualize master's history”. Notice that you have two commits now, and the second one has your name on it.


1 Answers

You can simply run gitk --all from the git folder you specified as the parameter and inspect your repo.

For others that hit this question: if you are concerned about space taken up by a working directory, clone with the -n (no checkout option):

git clone -n <url to your repo>
like image 157
Adam Dymitruk Avatar answered Sep 29 '22 20:09

Adam Dymitruk