From: "Geoff Russell" <geoffrey.russell@gmail.com>
To: "Jeff King" <peff@peff.net>
Cc: "Shawn O. Pearce" <spearce@spearce.org>, git@vger.kernel.org
Subject: Re: Question regarding: git pull --no-commit origin
Date: Mon, 26 Mar 2007 11:47:50 +0930 [thread overview]
Message-ID: <93c3eada0703251917j3ed8702dvc622bb94a1e5e8af@mail.gmail.com> (raw)
In-Reply-To: <20070326014757.GA28592@coredump.intra.peff.net>
On 3/26/07, Jeff King <peff@peff.net> wrote:
> On Mon, Mar 26, 2007 at 10:46:09AM +0930, Geoff Russell wrote:
>
> > If --no-commit won't let me do this then perhaps I need something like:
> >
> > git pull origin:testing
> > git checkout testing
> > .... test
> > git checkout master ; git pull . testing
>
> Close. Remember that a pull is basically a fetch + merge; so your first
> command is just the fetch:
>
> # fetches everything from origin
> git fetch
> # see what they have that we don't
> git whatchanged HEAD..origin/testing
> # check out their code in more detail
> git checkout origin/testing
> # or even make our own branch in case we have tweaks to make
> git checkout -b testing origin/testing
> # and once we're OK, do the merge
> git checkout master; git merge origin/testing
>
> All of that assumes git 1.5 or greater, which uses the separate remote
> layout and has some interface improvements. For older versions, their
> 'testing' branch will be pulled into your 'testing' branch, and I
> believe you will need to 'git pull . testing' to merge it.
>
> -Peff
>
Ok, that's all nice and clear now. Many thanks.
Geoff.
prev parent reply other threads:[~2007-03-26 2:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-25 23:32 Question regarding: git pull --no-commit origin Geoff Russell
2007-03-25 23:38 ` Shawn O. Pearce
2007-03-26 1:16 ` Geoff Russell
2007-03-26 1:47 ` Jeff King
2007-03-26 2:17 ` Geoff Russell [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=93c3eada0703251917j3ed8702dvc622bb94a1e5e8af@mail.gmail.com \
--to=geoffrey.russell@gmail.com \
--cc=git@vger.kernel.org \
--cc=peff@peff.net \
--cc=spearce@spearce.org \
/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).