I have a repository within a subdirectory, and now I would like to have the parent directories under version control too, but keep the current history of the repository.
So with the following tree:
a/b/c
c
is currently holding a repository, but I would like to have a repository in a
, and include all the history within c
.
I'm sure there is a way to go around doing this, perhaps with some git filter-branch
? I do not want to use submodules, I would like to have a single repository in the end.