Pending svn to git conversion
Toon Moene
toon@moene.org
Thu Dec 12 07:20:00 GMT 2019
On 12/12/19 2:13 AM, Gilles Gouaillardet wrote:
> Steve,
>
>
> If you use a recent git, you can use worktree in order to checkout
> several branches into several directories,
>
> while keeping a single .git (metadata) directory.
>
>
> For example
>
>
> cd $HOME/gcc
>
> git clone https://github.com/gcc-mirror/gcc.git gccx
>
> cd gccx
>
> git worktree add ../gcc9 gcc-9-branch
>
> git worktree add ../gcc8 gcc-8-branch
Wow - that's a handy feature - why does nobody (but you) tell us about it ?
I had already switched to a workflow where one has clones lying all over
the place (preferably in well-named directories like
'work-on-feature-X-branch').
Up til now I only had to use git at work (and there I get paid for it,
so don't complain too loudly).
Thanks !
--
Toon Moene - e-mail: toon@moene.org - phone: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
At home: http://moene.org/~toon/; weather: http://moene.org/~hirlam/
Progress of GNU Fortran: http://gcc.gnu.org/wiki/GFortran#news
More information about the Fortran
mailing list