I have a basic but common WordPress workflow question.
Current Workflow
- I develop everything locally
- FTP files (and database dump) up to the server to show client
- Make requested changes locally
- FTP files (and database dump) up the server again
- More local edits
- FTP (and database dump) up again
- Rinse and repeat
This has become a monster pain. There has to be a better way
Suspected Git workflow
- Local copy will be my ‘master’
- ‘Push’ files up to somewhere
- ‘Pull’ files from this place in the middle to my live/testing server
I think I have an idea of how it should conceptually be done, but I don’t know how it should practically be done. Should I use a Github private repo in the middle? Is there a way for my Live site to “Pull” directly from my localhost repo?
Apologies if this seems elementary or beaten to death already, but I’ve searched and haven’t found a basic “This is how your workflow should look” guide.
With thanks!
Terry