Hi Datalad Team,
I stupidly performed git annex uninit
in my superdataset rather than in a subdataset which I wanted to datalad remove
(permission issues in the git (annex) repo were preventing me from succesfully executing it), followed by manual removal of .git/annex and .git.
I performed git init
and git annex init
in the superdataset, reinitiating it as a git and git annex repo (and datalad dataset), but now my original subdatasets are directories in the superdataset rather than actual subdatasets. History will obviously be lost in the superdataset (which is not a disaster), but seems fine in the directories (hence, they are still datalad datasets, but not known by the superdataset). Losing it would not be a huge disaster either though if needed.
No remotes configured yet.
I was checking the datalad create
docs but it was slightly unclear to me what would happen with my existing directories (which are datalad datasets on their own already) if I execute the command based on the info that “This command only creates a new dataset, it does not add existing content to it, even if the target directory already contains additional files or directories”.
Could you please advise me on the easiest way to turn these directories into subdatasets again (.gitmodules still exists)?
Stupid mistake, thanks a lot in advance for helping me cleaning up the mess!
Best wishes,
Lukas