From: Dmitry Potapov <dpotapov@gmail.com>
To: saltzmanjoelh <talk@joelsaltzman.com>
Cc: git@vger.kernel.org
Subject: Re: how to compare fetch to see changes?
Date: Tue, 9 Mar 2010 11:35:06 +0300 [thread overview]
Message-ID: <20100309083506.GH31105@dpotapov.dyndns.org> (raw)
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
prev parent reply other threads:[~2010-03-09 12:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-08 22:01 how to compare fetch to see changes? saltzmanjoelh
2010-03-09 8:35 ` Dmitry Potapov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100309083506.GH31105@dpotapov.dyndns.org \
--to=dpotapov@gmail.com \
--cc=git@vger.kernel.org \
--cc=talk@joelsaltzman.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).