git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* moving self contained subdirectories from a project to another
@ 2007-06-18 12:24 Luca Barbato
  0 siblings, 0 replies; only message in thread
From: Luca Barbato @ 2007-06-18 12:24 UTC (permalink / raw)
  To: git

Lately I'm trying to move a subdirectory from one project to another,
both tracked in git.

This directory is currently duplicated in two different projects and my
plan was to remove it from those and make a library so it could be
shared between them.

Now, the simple way would be get a scratchpad branch, prune everything
but what I want, push to the library repo, make the projects use it.

There is already a script that automates this task? There are any
pitfalls I'm not considering?

lu

PS: keep me on CC since I'm not subscribed

-- 

Luca Barbato

Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-06-18 12:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-18 12:24 moving self contained subdirectories from a project to another Luca Barbato

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).