git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: how to compare fetch to see changes?

From
Dmitry Potapov <dpotapov@gmail.com>
Date
Mar 9, 2010, 08:35 UTC
Message-ID
<20100309083506.GH31105@dpotapov.dyndns.org>
In-Reply-To
<27828348.post@talk.nabble.com>
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
Previous: saltzmanjoelh
Message 2 of 2 in “how to compare fetch to see changes?”
  1. saltzmanjoelhMar 8, 2010
  2. Dmitry PotapovMar 9, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.