Domanda

I'm new to the the git workflow process and I'm working as a web designer / web developper and creating many sites for many clients. I forked a Wordpress repository to create my own base with all my favorites plugins & configurations.

I just would like to know what do I need to do, after I have forked and customize a basic install to create my others others sites, based on this starter config that I have made?

To create a new client site, do I need to fork it again, into another repository, or do I just need to clone it into another folder ?

I'm just wondering that, if I only clone it, and then make some changes, it will update the forked base theme (that I don't want to do). I want to keep the base dev repo clean. But, I also want, after creating some new sites from my main repository (the forked one / the developpement based wordpress configuration), to be able to make some change, for example as new release on this main repository, and then import them into my sub-sites, created from that main repo.

È stato utile?

Soluzione

git clone "path to wordpress repo on my hardrive" "path to a brand new folder"

nothing will happen to the original repo unless you tell git to do so.

to import some changes from original to a "fork":

git pull 

in the fork.

That's the power of git.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top