On Tue, Mar 26, 2013 at 1:14 AM, Konstantin Khomoutov <
> On Tue, 26 Mar 2013 00:12:23 +0800
> lei yang <yanglei.f...@gmail.com> wrote:
> > I git bare clone linux tree with
> > git clone git://
> > git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git
> It's not bare, unless you passed "--bare" to `git clone`.
Yes I want I'm missed --bare
Actually, if you intend to host a mirror of that tree (as, it seems, you
> do), you should have used `git clone --mirror` (which implies "--bare").
Thanks for the tips
> > then I can git
> > clone /home/lyang001/trees/linux-stable-rt/inux-stable-rt to get it
> > my question if linux-stable-rt.git updates, how could I sync it to the
> > latest, git pull in the bare clone tree failed here, can you point me
> > the right steps to use bare clone tree
> Provided your mirror repository is indeed a mirror (a bare repo will
> all remote refs fetched), the way to update it is
> $ cd /home/lyang001/trees/linux-stable-rt/inux-stable-rt
> $ git fetch +refs/*:refs/*
I will have a try
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/groups/opt_out.