Re: split up a repository

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

 



On Tue, Mar 2, 2010 at 6:21 PM, Levente Kovacs <leventelist@xxxxxxxxx> wrote:
> On Tue, 2 Mar 2010 11:40:41 +0100
> Ok. Really newbie question here. Just before I start to mess up my
> repositories. I've cloned the git-subtree, and the install script would put
> the script into /usr/lib/git-core. Is there any way to install the script
> somewhere under /usr/local ?

The actual function of git-subtree is one single file.  You can just
copy it to wherever you like.  Personally, I add the git-subtree
source directory to my PATH from .bashrc... but I guess I'm special
because I also change my version of git-subtree a lot :)

Make sure to run 'make test' first so you know it's working on your computer.

And I'll second Sverre's suggestion to *always* back up your
repository before doing weird stuff (although git-subtree is designed
to refuse to overwrite existing branches, and nobody has ever reported
it damaging anything).

Have fun,

Avery
--
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]