Re: Git branching & pulling
- From
- J. Bruce Fields <bfields@fieldses.org>
- Date
- May 19, 2007, 05:49 UTC
- Message-ID
- <20070519054936.GC2679@fieldses.org>
- In-Reply-To
- <d4cf37a60705182240s414243a6wae69d26f70f64dd5@mail.gmail.com>
On Fri, May 18, 2007 at 10:40:17PM -0700, Wink Saville wrote:
Show 28 quoted lines
> Hello, > > I'm having trouble understanding branching and pull. > > Using git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git > I can create a branch off the master and do a pull: > > wink@ic2d1:~/linux/linux-2.6$ git-checkout master > Switched to branch "master" > wink@ic2d1:~/linux/linux-2.6$ git-checkout -b test > Switched to a new branch "test" > wink@ic2d1:~/linux/linux-2.6$ git-pull > Already up-to-date. > > > > But from some reason using > git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm.git > the following happens > > wink@ic2d1:~/linux/kvm-linux-2.6$ git-checkout master > Already on branch "master" > wink@ic2d1:~/linux/kvm-linux-2.6$ git-checkout -b test > Switched to a new branch "test" > wink@ic2d1:~/linux/kvm-linux-2.6$ git-pull > Warning: No merge candidate found because value of config option > "branch.test.merge" does not match any remote branch fetched. > No changes.
The differences you describe are almost certainly due to differences in the git version, not the cloned repository. Are you sure git wasn't ugpraded between the two tests?
--b.