all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "João Távora" <joaotavora@gmail.com>
To: Yuri Khan <yuri.v.khan@gmail.com>
Cc: Mathias Megyei <mathias@mnet-mail.de>,
	Eli Zaretskii <eliz@gnu.org>, Steinar Bang <sb@dod.no>,
	Emacs developers <emacs-devel@gnu.org>
Subject: Re: Stash
Date: Mon, 6 Apr 2015 13:06:49 +0100	[thread overview]
Message-ID: <CALDnm53pcn_prsm_479=mtmqf2-9fqc1hjO6uf-HuRZhBeVsPA@mail.gmail.com> (raw)
In-Reply-To: <CAP_d_8UAGe=VDbp7oZ4Tae7Lo7u51-gFQZ0Ajz=M8yjjxspTFA@mail.gmail.com>

On Mon, Apr 6, 2015 at 12:56 PM, Yuri Khan <yuri.v.khan@gmail.com> wrote:
> On Mon, Apr 6, 2015 at 5:30 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>
>>> Is there a reason why you don't mention 'gitk' in GitQuickStartForEmacsDevs?
>>
>> I don't want to assume gitk is installed, nor that the Git commands
>> are invoked from a sufficiently capable terminal.
>
> A git browser (especially a graphical, point-and-clicky one) is an
> immensely useful tool in understanding and learning Git. And gitk is
> the one that has the best chance of being installed, or easiest to
> install. (Most other git browsers are platform-specific.)
>
> Alternatively, Emacs could include a git browser. (Magit already does;
> I don’t know about vc.)
>
>
> A git browser is most useful if directed to show not only the current
> branch but also the associated remote tracking branch, e.g. (assuming
> a POSIX shell):
>
> $ gitk HEAD $(git rev-parse --symbolic-full-name @{u}) &

A command like

git log --graph --pretty=format:'%Cred%h%Creset%n' \
     --abbrev-commit --date=relative --branches --all

or a more sophisticated variation thereof should be readily portable
and provides at least some visualization of the graph.

This particular one stolen from

    http://stackoverflow.com/questions/7007758/how-to-drawedit-an-ascii-git-tree

but I've seen other versions that name branches and labels

-- 
João Távora



  reply	other threads:[~2015-04-06 12:06 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-05 17:42 Stash Richard Stallman
2015-04-05 18:31 ` Stash Steinar Bang
2015-04-05 18:38   ` Stash Eli Zaretskii
2015-04-06  5:50   ` Stash Richard Stallman
2015-04-06  6:37     ` Stash Steinar Bang
2015-04-06  7:35     ` Stash Eli Zaretskii
2015-04-06  7:57       ` Stash Eli Zaretskii
2015-04-07 19:31       ` Stash Stephen J. Turnbull
2015-04-08  5:28         ` Stash Eli Zaretskii
2015-04-06  5:50   ` Stash Richard Stallman
2015-04-06  6:50     ` Stash Steinar Bang
2015-04-06  6:55       ` Stash Eli Zaretskii
2015-04-06 11:25         ` Stash Mathias Megyei
2015-04-06 11:30           ` Stash Eli Zaretskii
2015-04-06 11:56             ` Stash Yuri Khan
2015-04-06 12:06               ` João Távora [this message]
2015-04-06 12:25                 ` Stash Eli Zaretskii
2015-04-06 12:19               ` Stash Eli Zaretskii
2015-04-06 11:59             ` Stash João Távora
2015-04-06 12:21               ` Stash Eli Zaretskii
2015-04-06 13:06                 ` Stash João Távora
2015-04-06  6:55       ` Stash Eli Zaretskii
2015-04-06 14:53       ` Stash Steinar Bang
2015-04-06 15:07         ` Stash Harald Hanche-Olsen
2015-04-06 18:48           ` Stash Steinar Bang
2015-04-06  5:51   ` Stash Richard Stallman
2015-04-06  7:29     ` Stash Eli Zaretskii
2015-04-06  7:55       ` Stash Harald Hanche-Olsen
2015-04-07 16:13       ` Stash Richard Stallman
2015-04-07 16:48         ` Stash Eli Zaretskii
2015-04-07 19:51           ` Stash Stephen J. Turnbull
2015-04-08 18:20             ` Stash Richard Stallman
2015-04-08 18:21           ` Stash Richard Stallman
2015-04-08 18:33             ` Stash Eli Zaretskii
2015-04-09 13:16               ` Stash Richard Stallman
2015-04-09 13:45                 ` Stash Eli Zaretskii
2015-04-10 10:57                   ` Stash Richard Stallman
2015-04-08 18:21           ` Stash Richard Stallman
2015-04-07 16:58         ` Stash Andreas Schwab
2015-04-08 18:21           ` Stash Richard Stallman
2015-04-09 17:07             ` Stash Andreas Schwab
2015-04-10 10:58               ` Stash Richard Stallman
2015-04-07 20:12     ` Stash Stephen J. Turnbull
2015-04-09 13:16       ` Stash Richard Stallman
2015-04-09 16:53         ` Stash Stephen J. Turnbull
2015-04-10 10:58           ` Stash Richard Stallman
2015-04-10 11:18             ` Stash Eli Zaretskii
2015-04-10 13:52             ` Stash Stephen J. Turnbull
2015-04-05 18:40 ` Stash Paul Eggert
2015-04-05 19:25   ` Stash Harald Hanche-Olsen
2015-04-05 19:59     ` Stash Paul Eggert
2015-04-05 19:26   ` Stash Steinar Bang
2015-04-05 20:18     ` Stash Stephen J. Turnbull
2015-04-05 19:41 ` Stash Harald Hanche-Olsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CALDnm53pcn_prsm_479=mtmqf2-9fqc1hjO6uf-HuRZhBeVsPA@mail.gmail.com' \
    --to=joaotavora@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=mathias@mnet-mail.de \
    --cc=sb@dod.no \
    --cc=yuri.v.khan@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.