I have a specific situation and i didn't found the answer on stack that matches it.
I have a root_project
which is base app directory, synchronized with it's remote repo.
Now i have a folder in it, which is named oscar
. I've previously downloaded zipped oscar and copied it into my root_project
, after i've customised it in places i needed.
After that i have noticed that i get into troubles if i need to get updates from remote oscar once those are made up.
The basic idea is to use git submodule
but really can't figure out how to adapt it to my necesities as i don't want to crash my project and repo on experimenting.
Also a specific part is that i need only src/oscar
from oscar repo, that is actually in my root_project
and to make it possible to merge with my changes in local oscar
folder, without loosing the things i've already done locally.
I would appreciate any help and suggestions on how to use correctly git submodule
in current circumstances, also if possible wanna see the steps i must do on achieving desired results