gitidegitlabtortoisegitphped

Integrating Git into my workflow


I use NuSphere's PhpED's PHP IDE to crate and debuge PHP script.

I've never used a repository systems, but wish to do so now, and am struggling on how to implement it into my workflow.

I have the following three machines:

Windows 7 PC

Local Development Centos Server

Remote Production Centos Server

Will I need to install Git on the Windows PC?

Will I need to install Git on the Remote Production Centos Server?

PhpED has some basic shell integration with TortoiseGit. Think it is worth using, or am I better off using some other tool to interface with Git?

Any other description of a recommended workflow would be appreciated.

Thank you


Solution

    • Will I need to install Git on the Windows PC?

    Yes, if you want to git clone the repos from your Local Dev Centos server onto your computer

    • Will I need to install Git on the Remote Production Centos Server?

    Yes, if you want to push your repos to bares repos on your Remote Production Centos server.
    But you can also consider other means to deploy those same repo:
    A post-receive hook on the local Prod Centos server can: