Answer the question
In order to leave comments, you need to log in
Do a git clone to a non-empty directory
How can I git clone to a non-empty directory?
I have some CMS. It has a core that does not make sense to keep in the version control system, but there is a changeable part. Now the CMS is installed and in use. I need to clone it from an existing repository.
How can this be checked?
Answer the question
In order to leave comments, you need to log in
move the non-changeable part to a separate rap and make a submodule (if it is all in the same folder), and as a result, when you clone the rap, you will only have your code there, but there is always the opportunity to pull out the framework
Make clone to empty, and then copy everything where necessary.
Well, then in .gitignore what does not need to be stored in git.
Can make so that the changed part lay in a separate directory?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question