Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #2153
| Path | csiph.com!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail |
|---|---|
| From | Rui Maciel <rui.maciel@gmail.com> |
| Newsgroups | comp.programming |
| Subject | Re: Split a git repository? |
| Date | Wed, 05 Sep 2012 12:24:09 +0100 |
| Organization | Aioe.org NNTP Server |
| Lines | 26 |
| Message-ID | <k27con$51m$1@speranza.aioe.org> (permalink) |
| References | <k2201o$2n1$1@speranza.aioe.org> <0.3b41f11daf4c894d927a.20120903173438BST.87392zysip.fsf@bsb.me.uk> |
| Reply-To | rui.maciel@gmail.com |
| NNTP-Posting-Host | kOOJJMfATi2f51TTu1lC7Q.user.speranza.aioe.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="ISO-8859-1" |
| Content-Transfer-Encoding | 7Bit |
| X-Complaints-To | abuse@aioe.org |
| User-Agent | KNode/4.8.4 |
| X-Notice | Filtered by postfilter v. 0.8.2 |
| Xref | csiph.com comp.programming:2153 |
Show key headers only | View raw
Ben Bacarisse wrote: > My first though is > > git rm docs/* > git commit -a -m "docs/* now in their own repository" > cd docs > git init > git add * > > Obviously you might want the repository for docs somewhere else, in > which case you can use --git-dir=... > > However, I can see some problems. I don't know what happens when people > try to merge changes on removed files. Presumably something sane, but I > don't know what. Thanks for the help. I was hoping for a magic trick that could to pull this off, such as an arcane command that could convert a subdirectory into a submodule, and in the process it would extract and remove all the history from the original repository and set up everything as required. Alas, no such luck. Thanks for the help, Rui Maciel
Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Split a git repository? Rui Maciel <rui.maciel@gmail.com> - 2012-09-03 11:16 +0100
Re: Split a git repository? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2012-09-03 17:34 +0100
Re: Split a git repository? Rui Maciel <rui.maciel@gmail.com> - 2012-09-05 12:24 +0100
Re: Split a git repository? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2012-09-05 13:30 +0100
Re: Split a git repository? Robert Wessel <robertwessel2@yahoo.com> - 2012-09-05 22:07 -0500
Re: Split a git repository? Ian Collins <ian-news@hotmail.com> - 2012-09-06 19:46 +1200
csiph-web