Were a small wordpress development team who currently build our projects on a development server using mamp and once a project is ready to be live we FTP the site files to the production server. Currently when a dev needs to work on a file he/she will pull it from the dev.development.com server and once finished reupload the file so the client can approve the changes before FTP’ing the file to the production server.
We’re experimenting with GIT and bitbucket solutions and are wondering how we can use these tools to have source control with our code. We’ve tried various things over the past couple of days and are having issues on how we can maintain a codebase on the development server and have developers work locally. The dev server is a networked one connected to all our macs and has the mysql database that we use to connect our WordPress sites to.
Has anybody have experience of this or know how we can have source control with our setup – we’re keen to modernise our approach but we like the idea of having our development server to work on.
Thanks in advance.
Edit – for the SO trolls here is the question: How to setup git when you have developers and a local development server that clients access?
A typical release life-cycle with GIT might look something like this
Development:
Promotion to test server
Promotion to production
Here’s a good primer/reference on GIT that may be of use to you: http://rogerdudler.github.io/git-guide/
Hope this helps! If anything is unclear just let me know and I’ll edit my answer.