I'm using git for a personal and big project which has a wide scope (not just programming) and lots of file. Hence I've a lot of branches and merges and I want to have a nice visualization tool for branches and merges in Git (esp. if it offer an animation just like Gource or graph capability like PlasticSCM). gitk or git log are nice tools and I'm currently using them but not the solution I want.
I like open source projects, and I prefer an application which just do the job (not a whole git front-end) however if there is no open source solutions, closed ones or heavy git softwares are welcomed. I've find:
SeeGitApp (Not good for me, esp for a long and heavy branch and merging),
GitCola (I couldn't install it on windows in the first try),
GitVersionTree (very basic),
gitlist (server based, php, I couldn't try it),
gittreemap,
git2html.sh,
git log --pretty.
As I said, I've just searched for open source and utilities. if there isn't such utility for this task what would you offer instead?
Use git log --graph or gitk . (Both also accept --all , which will show all the branches instead of just the current one.)
Git log graph examples The following images show the git log graph output for these commands: git log --graph --pretty="%ad" --date=short. git log --graph --pretty="%C(yellow) %s" git log --graph --pretty="%C(bold green) %(ar)"
Of the three Git branch strategies we cover in this post, GitHub flow is the most simple. Because of the simplicity of the workflow, this Git branching strategy allows for Continuous Delivery and Continuous Integration. This Git branch strategy works great for small teams and web applications.
How about ungit?
Ungit can be a bit tricky to install if you're not familiar with Node.js, but IMO it's the best git GUI I've seen so far.
Stock gitk --all
or, at the console:
git log --graph --oneline --decorate --all
(I have this call aliased to git overview
, by the way). To get better results with the display consider setting the color.ui
Git configuration variable to auto
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With