On Fri, Mar 04, 2011 at 11:47:22PM -0800, Dmitry wrote:

> A branch is git a reference to a single commit. So the question is:
> how can I see what commits it pointed to before? Although we can see
> all ancestors of any commit we need some way to tell past head
> revisions apart from any developer branches. Even if a commit has only
> one parent the branch is not necessarily ever pointed to it - such a
> case occurs when the maintainer pulling a developers branch results in
> fast forward.
If this is a problem for your workflow, your team could adopt a policy
of mandating usage of --no-ff command-line options when doing any kind
of merging. ISTR, t's possible to force this via the git config mechanism.

> The reflog shows history of local branches, but the remote reflog is
> not copied during cloning of fetching (fetching activity is recorded
> in the reflog instead) and I don't know a way to view the remote
> reflog.
> So can you suggest any way to see the history of a branch?
I think it's impossible, but now I'm quite interested to see a use case
for what you want to achieve, really.
I've read that one of the branching modes possible in Mercurial involves
recording of the name of the active branch with each commit, so may be
you're coming from it?

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to