* Git graph with branch labels for all paths in text environment
@ 2009-11-16 12:03 rhlee
2009-11-16 12:23 ` Santi Béjar
2009-11-21 17:50 ` Jonas Fonseca
0 siblings, 2 replies; 6+ messages in thread
From: rhlee @ 2009-11-16 12:03 UTC (permalink / raw)
To: git
Hi git forum,
Is there anyway to to view a text based git grah that shows all paths with
the branch labels? Like a on gitk but ncurses based?
I can get all paths in git log --graph, but I can't get the branch labels.
I can get all branch labels in tig, but only for the current branch.
Is there any feature that has the best of both worlds in a text-based
environment? I ask to text-based as I only have shell access to the server,
an X Windows environment.
Regards,
Richard
--
View this message in context: http://n2.nabble.com/Git-graph-with-branch-labels-for-all-paths-in-text-environment-tp4011651p4011651.html
Sent from the git mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Git graph with branch labels for all paths in text environment
2009-11-16 12:03 Git graph with branch labels for all paths in text environment rhlee
@ 2009-11-16 12:23 ` Santi Béjar
2009-11-16 13:30 ` Bill Lear
2009-11-21 17:50 ` Jonas Fonseca
1 sibling, 1 reply; 6+ messages in thread
From: Santi Béjar @ 2009-11-16 12:23 UTC (permalink / raw)
To: rhlee; +Cc: git
On Mon, Nov 16, 2009 at 1:03 PM, rhlee <richard@webdezign.co.uk> wrote:
>
> Hi git forum,
>
> Is there anyway to to view a text based git grah that shows all paths with
> the branch labels? Like a on gitk but ncurses based?
For third-party tools you can check:
http://git-scm.com/tools
>
> I can get all paths in git log --graph, but I can't get the branch labels.
Have you tried --decorate?
I have an alias for this:
alias.logk = log --graph --pretty=oneline --abbrev-commit --decorate
HTH,
Santi
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Git graph with branch labels for all paths in text environment
2009-11-16 12:23 ` Santi Béjar
@ 2009-11-16 13:30 ` Bill Lear
2009-11-16 15:27 ` Michael J Gruber
0 siblings, 1 reply; 6+ messages in thread
From: Bill Lear @ 2009-11-16 13:30 UTC (permalink / raw)
To: Santi Béjar; +Cc: rhlee, git
On Monday, November 16, 2009 at 13:23:10 (+0100) Santi Béjar writes:
>On Mon, Nov 16, 2009 at 1:03 PM, rhlee <richard@webdezign.co.uk> wrote:
>> Is there anyway to to view a text based git grah that shows all paths with
>> the branch labels? Like a on gitk but ncurses based?
>
>For third-party tools you can check:
>
>http://git-scm.com/tools
Anything that can print this?:
H---I---J topicB
/
E---F---G topicA
/
A---B---C---D master
I've always liked the text-based format that keeps things in-line, as
above. Very readable. I thought someone on this list posted
something about a tool that could produce such graphs from
reasonably-sized git repos. Anyone have such a thing?
Bill
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Git graph with branch labels for all paths in text environment
2009-11-16 13:30 ` Bill Lear
@ 2009-11-16 15:27 ` Michael J Gruber
0 siblings, 0 replies; 6+ messages in thread
From: Michael J Gruber @ 2009-11-16 15:27 UTC (permalink / raw)
To: Bill Lear; +Cc: Santi Béjar, rhlee, git
Bill Lear venit, vidit, dixit 16.11.2009 14:30:
> On Monday, November 16, 2009 at 13:23:10 (+0100) Santi Béjar writes:
>> On Mon, Nov 16, 2009 at 1:03 PM, rhlee <richard@webdezign.co.uk> wrote:
>>> Is there anyway to to view a text based git grah that shows all paths with
>>> the branch labels? Like a on gitk but ncurses based?
>>
>> For third-party tools you can check:
>>
>> http://git-scm.com/tools
>
> Anything that can print this?:
>
> H---I---J topicB
> /
> E---F---G topicA
> /
> A---B---C---D master
>
> I've always liked the text-based format that keeps things in-line, as
> above. Very readable. I thought someone on this list posted
> something about a tool that could produce such graphs from
> reasonably-sized git repos. Anyone have such a thing?
You really mean horizontally? I know those wide screen monitors are
becoming ubiquitious, but still...
Or are you more after the "in-line" part in the sense that "each branch
is on its line"? This is a bit difficult to define, though (the graph
above is linear, e.g.).
Michael
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Git graph with branch labels for all paths in text environment
2009-11-16 12:03 Git graph with branch labels for all paths in text environment rhlee
2009-11-16 12:23 ` Santi Béjar
@ 2009-11-21 17:50 ` Jonas Fonseca
2009-11-23 9:56 ` rhlee
1 sibling, 1 reply; 6+ messages in thread
From: Jonas Fonseca @ 2009-11-21 17:50 UTC (permalink / raw)
To: rhlee; +Cc: git
On Mon, Nov 16, 2009 at 07:03, rhlee <richard@webdezign.co.uk> wrote:
> Is there anyway to to view a text based git grah that shows all paths with
> the branch labels? Like a on gitk but ncurses based?
>
> [...]
> I can get all branch labels in tig, but only for the current branch.
You can browse all branches by using: tig --all
However, the graph drawing is rather poor for complex git histories.
--
Jonas Fonseca
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Git graph with branch labels for all paths in text environment
2009-11-21 17:50 ` Jonas Fonseca
@ 2009-11-23 9:56 ` rhlee
0 siblings, 0 replies; 6+ messages in thread
From: rhlee @ 2009-11-23 9:56 UTC (permalink / raw)
To: git
Jonas Fonseca wrote:
>
> You can browse all branches by using: tig --all
>
Thanks this great as this saves me from quitting tig to view all branch
histories.
Jonas Fonseca wrote:
>
> However, the graph drawing is rather poor for complex git histories.
>
I'm working on 3-4 current branches and it's fine for me.
Thanks,
Richard
--
View this message in context: http://n2.nabble.com/Git-graph-with-branch-labels-for-all-paths-in-text-environment-tp4011651p4050140.html
Sent from the git mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-11-23 9:56 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-16 12:03 Git graph with branch labels for all paths in text environment rhlee
2009-11-16 12:23 ` Santi Béjar
2009-11-16 13:30 ` Bill Lear
2009-11-16 15:27 ` Michael J Gruber
2009-11-21 17:50 ` Jonas Fonseca
2009-11-23 9:56 ` rhlee
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).