V
V
Vista2016-03-20 16:29:02
git
Vista, 2016-03-20 16:29:02

How to split a project into two submodules?

Good day,
There was a problem with dividing the project into two submodules:
1) web (web part)
2) mobile (mobile version of the project)
I can’t competently cut the project into two submodules.
I would appreciate answers...
Tried via submodule
git submodule add ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
aol-nnov, 2016-03-20
@aol-nnov

Is everything in one repository now?
if yes, and you need to cut it with saving history, then through filter-branch
, for example, like this

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question