Bro tip: gitk --first-parent

Stephen Kelly steveire at gmail.com
Sun Sep 4 22:01:40 BST 2011


Sent this too early. Meant to supply a link.

Stephen Kelly wrote:

> 
> Hi,
> 
> If you use gitk and are working in a git repo with lots of merges between
> branches, it can be overwhelming to see all the commits in branches which
> have been merged in (eg, the commits in the 4.7 and active branches when
> trying to look at the frameworks branch).
> 
> The way to see commits that were actually made on the frameworks branch,
> and not commits that were merged in, is to use gitk --first-parent. It is
> documented in the git-log man page, because gitk accepts most standard git
> commands for dealing with refs.
> 

http://www.kernel.org/pub/software/scm/git/docs/git-log.html

> 
> If you don't use gitk and don't understand git see:
> 
> http://lostechies.com/joshuaflanagan/2010/09/03/use-gitk-to-understand-
git/


All the best,

Steve.






More information about the kde-core-devel mailing list