git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Avery Pennarun <apenwarr@gmail.com>
To: Levente Kovacs <leventelist@gmail.com>
Cc: Sverre Rabbelier <srabbelier@gmail.com>, git@vger.kernel.org
Subject: Re: split up a repository
Date: Tue, 2 Mar 2010 20:40:57 -0500	[thread overview]
Message-ID: <32541b131003021740n32535fbbh802af418ea0898aa@mail.gmail.com> (raw)
In-Reply-To: <20100303002132.5df20326@gmail.com>

On Tue, Mar 2, 2010 at 6:21 PM, Levente Kovacs <leventelist@gmail.com> 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

  parent reply	other threads:[~2010-03-03  1:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-02  0:12 split up a repository Kovacs, Levente
2010-03-02  0:36 ` Chris Packham
2010-03-02 10:40 ` Sverre Rabbelier
2010-03-02 23:21   ` Levente Kovacs
2010-03-02 23:19     ` Sverre Rabbelier
2010-03-03  1:40     ` Avery Pennarun [this message]
2010-03-03 14:04       ` Bill Lear
2010-03-03 19:19         ` Avery Pennarun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=32541b131003021740n32535fbbh802af418ea0898aa@mail.gmail.com \
    --to=apenwarr@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=leventelist@gmail.com \
    --cc=srabbelier@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).