CARPEYOYO'S GITHUB PROJECTS

gtree

The repository for this project can be found here.

Gtree is a GUI interface for creating a visual graph of a git repository's commits and branches using Python 3, pygit2, PyGraphviz, and PyGTK3+.

When gtree is run from a directory, it will check that directory for a git repository. If it finds one it will launch a window that displays a graph where each commit is represented by a node and the branches are shown as connecting edges. The edges making up the master branch are shown in green, and the edges making up the current branch are shown in blue. Clicking on a node will display the corresponding commit's information much like what is displayed in using the 'git log' command. Finally, the checklist on the left will determine which branches are displayed on the graph.

The screenshot below shows the graph for the gtree's development git repository.

Program Control Menu Screenshot

Notice that the master branch (in green) contains only two elements and the master1 branch is the current branch (shown in blue). The master branch was specifically created using the --orphan option to create a clean branch for Github.