Thursday, September 8, 2011

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

On Sep 8, 11:06 am, WebbedIT <p...@webbedit.co.uk> wrote:
> @andrew: It's a very topical question as Git was a big topic at
> CakeFest this year.  If you ever have designs on contributing to
> CakePHP and the many apps and plugins that are being developed around
> it then Git is certainly the way to go as that's what the core team
> use.
>
> You need to setup a central machine on your network as a remote repo
> where you your group can individually clone/pull/branch and then push
> updates back into the one central 'master'.  Just yesterday I
> installed git-ftp which then allows you to ftp from the git bash only
> those files that have changed rather than uploading the whole app
> again or manually trying to work out which files were changed since
> the last upload.
>
> Related links:http://gitref.org/https://github.com/resmo/git-ftp

It's a one line command to sync a dir with rsync, and the sort of
bandwidth/work optimizations that script is trying to do are done
already for you.

Unless you're forced to use ftp - you really shouldn't use it :)

AD

--
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: