Re: 1.5.0.rc1.gb60d: fetch in another branch works strangely

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Horst H. von Brand" <vonbrand@xxxxxxxxxxxx> wrote:
> I created a new branch in the kernel to carry a not yet official patch, to
> keep this up to date I do:
> 
>    $ git fetch git://git2.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

That's only writing into FETCH_HEAD whatever branch is marked as
HEAD in Linus' repository.  No local refs are being updated.

>    $ git pull . origin

So this won't merge in the changes fetched above.


Why not setup that URL as a remote (git remote add linus ....)
Then you can do:

  $ git fetch linus
  $ git merge linus/master

or 

  $ git fetch linus
  $ git pull . linus/master

or 

  $ git pull linus master

-- 
Shawn.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]