Hi @eagerbob, @bcworkz
Thanks a lot for your answers.
Please consider that I am making my very first steps with git. I do not consider myself as a developer, although I think I have a good knowledge on everything wordpress…
@bcworkz
Why would you want to include WP core in your repository?
Because I have no method nor strategy yet on how to use git. I understand what it does and why it is useful but I’d like to make the most of it without making it unmanageable.
@eagerbob says
I use git to version-control the work I do when I work on themes. In that case, my repo is just the (child) theme, not the whole WP install.
and that’s probably enough for my use case too.
However, I’d like to underline this point on mirroring rather than cloning.
I understand that mirroring the public wp repository updates the code on my own repository at intervals. It differs from cloning that is just a static version of the code. Please let me know if I am mistaken here.
This point allows me to rephrase my question :
Let’s consider 3 environments :
Development as a local install
Production as a live install
And staging to test that everythings ok before pushing to production
I was thinking about having the upcoming (beta) version of wordpress locally to anticipate any issue with the code I have in my custom function.php (in a child theme of course)… That doesn’t mean I’d be technically skilled to solve the issues, but at least I would be able to anticipate what to push or not push to the following staging step.
I am not saying that this is the best method. I do repeat that I have no methods yet, I only have questions, to ask for your best advices.
My original question was :
Do you think it’s a good idea to be aware / keep track of every single commit from the wp dev team on wordpress? Or just the commits from our own install is enough?
It looks like you guys only push the files you authored personnally to keep track of your own modifications… (That’s the point with git you’d reply!)
What version of wordpress do you use locally? The last stable version? the upcoming beta version?