On Tuesday, July 1, 2014 9:12:58 AM UTC+2, lei yang wrote:
> Hi expert,
> I have two tree 
> git://xx-git.ws.com/git/layers/A (nothing contains,just init)
> git://xx-git.ws.com/git/layers/B (lots of content)
> for now I want to realize this, when I clone A,it actually clone B? 
> can we create a alias?

If you have access to the filesystem where the repositories are stored on 
disk, maybe you can replace A with a symlink to B?

cd /var/git/layers # or wherever they are stored
rm -rf A
ln -s B A


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 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to