On Sun, 2 Feb 2014 23:35:33 -0800 (PST)
Gabby Romano <omerik...@gmail.com> wrote:

> > > I would like to run git rev-list with --no-merges to exclude the
> > > pull merge commits, but to still be able to see "regular" branch
> > > merges and their changes. is there a way to do this or there is
> > > no way to tell between them ? 
> >
> > No way, I beleive. 
> > `git pull` is `git fetch` followed by `git merge` -- nothing more,
> > it's not a distinct operation but rather something like a shortcut. 
> > Unfortunately, folks often learn `git pull` before (or instead) 
> > `git fetch` which produces wrong mental model. 
> >
> I found this 
> -
> http://stackoverflow.com/questions/2039773/have-remote-git-repository-refuse-merge-commits-on-push/2081349#2081349
> which I think might be the answer here. do you agree ? 

Not sure what do you mean: I got an impression your original question
was not about *preventing* some "dumb merges".

What is exactly the problem you are trying to solve?  I'm afraid we're
dealing with [1] here.

1. http://meta.stackoverflow.com/questions/66377/what-is-the-xy-problem

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to