[Vm-dev] equivalent of svn export...
Tobias Pape
Das.Linux at gmx.de
Mon Jun 27 20:32:42 UTC 2016
Hi Eliot
On 27.06.2016, at 20:08, Eliot Miranda <eliot.miranda at gmail.com> wrote:
> Hi All,
>
> I have build.linux32ARM which is full of generated crap. I have renamed it to build.linux32ARMv6 via git mv build.linux32ARM build.linux32ARMv6. So far so good. Now I want to clone the clean state of build.linux32ARMv6 (or of https://github.com/OpenSmalltalk/vm/build.linux32ARMv6) to create the clean state of build.linux32ARMv7. But I can't?!?!?
>
> In Subversion one can extract a subdirectory of the entire repository; great for Travis builds, where one doesn't waste time cloning the entire repository. Does git simply not support this? I see
> http://stackoverflow.com/questions/160608/do-a-git-export-like-svn-export
> but it doesn't appear to offer a solution beyond cloning the entire repository :-(
I have not yet grasped your use case, please help me there.
You want to maintain both build.linux32ARMv6 and build.linux32ARMv7, but
build.linux32ARMv7 is actually build.linux32ARM?
If so, what about:
mv build.linux32ARM build.linux32ARMv7 #note no git
git checkout -- build.linux32ARM
mv build.linux32ARM build.linux32ARMv6
and then `git add` the pieces of build.linux32ARMv6 and build.linux32ARMv7
as necessary and `commit` or replace the latter with `git mv`?
If it is only for local development to get a clean slate, it is quite similar, but
leave out the `commit` or `git mv` part…
HTH
Best
-Tobias
More information about the Vm-dev
mailing list