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://
It's not bare, unless you passed "--bare" to `git clone`.
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").
> 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/*
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.