I apologize if this is obvious or easy, I have looked at a good number of git/github tutorials and read other articles, but I want to make sure what I'm doing is right.
I want to incorporate VC (for obvious reasons) into my development team and process.
Current development process (using Dreamweaver):
* Receive a ticket (or work order)
* Download file on Development server
* Make changes to the file
* Upload file back to development server
* Changes tested/verified
* Send to production server
I'm trying to figure out how to make our new development process with using Git.
I am switching over to PHPStorm (which is an actual PHP IDE with direct integration with Git).
Would it be something like
- Receive a ticket (or work order)
- Checkout/Update/Download file(s)
- Change Files
- Upload file (which I assume is also the current working directory...?)
- At the end of the day, do a commit
- Have build script send data to testing server (nightly build)
Or would it be better to do something like
- Receive a ticket (or work order)
- Checkout/Update/Download file(s)
- Change Files
- Upload file/commit
- Have build script send data to testing server (nightly build)
Or is there another way? Having a bit of trouble understanding what would be the optimal flow?
Any help would be greatly appreciated.
Edit
I'm trying see if it is best to have a version of the server locally (every developer), and if so, how does that work if you have 7 or so branches?
If not, how do you deal with 7 or so branches with them on the web? Do you FTP files up or use Git Hooks to make them auto update?
Update 07/26/2012
After working successfully with Git for quite a while now I've been following this branching model with great success: A Successful Git Branching Model
The answer to the above was yes -- should definitely have a local version of the server.
