git - copy commit from one repository to another -


here setup - please correct me if should way.

i have php script use various template files(html&css) obtain different looks same functionality.

i have repository core script(local server). on repository bug fixing , new features. @ point want develop new version of product. created private repository on github developer template related commits , maybe features.

my question is: how "copy" commit local core repository(say bug fix) new github repository ? did test "patches" , seems work i'm not sure way go. think should setup repositories in way ? thanks

to me, sounds front-end repository should subscribe backend repository git submodule.

git submodule add ssh://myserver.com/myrepo.git backend 

which clone myrepo.git folder called backend in frontend. can cd backend , git pull updates, or check out branches, or else can git repo.

this may require little reworking on how frontend coded , how whole thing structured, submodules allowing 1 repository use when there no package management system in place it.


Comments

Popular posts from this blog

How to provide Authorization & Authentication using Asp.net, C#? -

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

How to use Authorization & Authentication in Asp.net, C#? -