git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to compare fetch to see changes?
@ 2010-03-08 22:01 saltzmanjoelh
  2010-03-09  8:35 ` Dmitry Potapov
  0 siblings, 1 reply; 2+ messages in thread
From: saltzmanjoelh @ 2010-03-08 22:01 UTC (permalink / raw)
  To: git


How do I compare what was fetched to compare changes?

Then, how do I choose to pick some changes over others, like the mergetool
does?
-- 
View this message in context: http://old.nabble.com/how-to-compare-fetch-to-see-changes--tp27828348p27828348.html
Sent from the git mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: how to compare fetch to see changes?
  2010-03-08 22:01 how to compare fetch to see changes? saltzmanjoelh
@ 2010-03-09  8:35 ` Dmitry Potapov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Potapov @ 2010-03-09  8:35 UTC (permalink / raw)
  To: saltzmanjoelh; +Cc: git

On Mon, Mar 08, 2010 at 02:01:42PM -0800, saltzmanjoelh wrote:
> 
> How do I compare what was fetched to compare changes?

"git fetch" prints something like that:

>From git://git.kernel.org/pub/scm/git/git
   7ff0f55..636c8b2  html       -> origin/html
   b599672..97222d9  maint      -> origin/maint
   59e5778..7e15109  man        -> origin/man
   7e5eb8f..b7e7f6f  master     -> origin/master

So, if you want to see what new was fetched for master, you can run:
  $ gitk 7e5eb8f..b7e7f6f

> 
> Then, how do I choose to pick some changes over others, like the mergetool
> does?

You can cherry-pick some patches and even modify them if necessary, but
it is not a good workflow. Normally, you should merge branches, then it
will be clear what is merged and what is not, and Git will automatically
merge only changes that were not merged before.


Dmitry

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-09 12:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-08 22:01 how to compare fetch to see changes? saltzmanjoelh
2010-03-09  8:35 ` Dmitry Potapov

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).