emacs-devel
[Top][All Lists]
Advanced

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

Re: git commit/push and VC


From: Eli Zaretskii
Subject: Re: git commit/push and VC
Date: Sat, 22 Nov 2014 10:36:47 +0200

> From: Ivan Shmakov <address@hidden>
> Date: Sat, 22 Nov 2014 06:50:51 +0000
> 
>  > Technically speaking, it's not possible in git to merge between
>  > clones, you have to fetch and then merge (== pull).
> 
>       Not necessarily, – you can just as well add the Git (or, rather,
>       .git/objects) directory of your “other” clone to your current’s
>       .git/objects/info/alternates, which will make the other clone’s
>       commits available for any operation – including merge – on the
>       current one.  Like, say:
> 
> $ cat < emacs-foo/.git/objects 
> ../../../emacs-bar/.git/objects
> ../../../emacs-qux/.git/objects
> /read/only/archives/git/emacs.git/objects

I don't think it's a good idea to recommend anything like that to
people who use Git for a short time, who are the main audience for the
Wiki recommendations.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]