Thread (6 messages) flat view 6 messages, 3 authors, 2016-06-15

Re: Question regarding git fetch

From: Jeff King <hidden>
Date: 2016-06-15 22:47:19

On Thu, Aug 27, 2009 at 10:12:50PM +0000, Avery Pennarun wrote:
quoted
I'm still screwed. The issue is that you consider your configured
refspec destinations to be precious, and not merely a cache for what's
happening on the remote side.
Is the "precious remote ref" concept perhaps an imaginary one?
Maybe. I certainly don't use it. But I am trying to consider corner
cases where somebody who _isn't_ me is going to get screwed by a
change we make.
After all, if I *really* care about the prior state of the remote, I
can just make it a remote branch.  And if (as often happens) I just
Do you mean "local branch" here?
want to know what's new in that ref since last time I merged, it's
simply

   git log master..origin/master

This works even if master has extra commits vs. origin/master, since
the double-dot invokes git-merge-base.
Well, ".." doesn't use git-merge-base. But yes, I actually do this,
except I do:

  gitk master...origin/master

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help