Thursday, September 8, 2011

Re: How to work in a group with Git and remote server? (Ex. Keep files in sync while FTP'ing)

Git does a great job of keeping network traffic to a minimum.
So I use git from my live hosted site (remote server) to pull a
specific tag. This way if something goes wrong or some bad code ended
up in the release I can always easily and quickly pull the previous
version tag until the problem is corrected. Most hosting sites servers
support the git client. And most will allow you ssh connection if you
request it.

I've found the following post and workflow from Vincent to be a great
baseline of how a team should work together using git.
It has a nice diagram and the blog entry covers all of the important
process for the entire development cycle.

http://nvie.com/posts/a-successful-git-branching-model/

You don't have to use all of his suggestions but the diagram really
helps you see how they all work together over time and versions of a
project.

Maybe git isn't directly related to cake-php and some have mentioned
this to be off topic. But just like the databases are not directly
cake-php our apps are useless without them. I view a source repository
as very on topic as I can't imagine working on any project without a
source repository or a deployment plan.


On Sep 7, 12:42 pm, andrewperk <andrewp...@gmail.com> wrote:
> Hello,
>
> I'm wondering how to keep my cake files in sync while working in a
> group with others. I understand how to use git and I've been using it
> solo for versioning my applications. Then I just use Filezilla to FTP
> my files into my remote server.
>
> This will be difficult to do in a group though as I'll have to
> download the whole framework from the server each time before making
> new changes to  ensure that I have the most recent changed files from
> my partners.
>
> How can I make it so we can all work remotely in different places on
> the same project and only have to upload/download to/from the server
> the most recently changed files.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: