Has any one used Git Push/pull to sync the webserver to local repo?
  • I am trying to figure out a way to streamline my website updates.
    My current work flow is after making a change I test it and push it to github.
    Simultaneously I copy it over to my website using filezilla. (I would have preferred to do a git pull instead.)
    Since git does not support sftp ( I saw a workaround using sshfs and need to test it out) I wanted to check whether other users have a better workflow for syncing their data
    Regards
    Vijay
  • Hi.

    Anything incremental is great. Rsync is great, but it's not applicable in this case. However, I've seen:

    http://www.serveridol.com/2010/02/18/how-do-i-syncronize-the-ftp-files-incremental-ftp-backup/
    http://how-to.wikia.com/wiki/How_to_use_lftp_as_a_sftp_client

    So, my workflow will change from:

    - Editing files in my working branch.
    - Merge into deployed
    - rsync files

    to:

    - Editing files in my working branch.
    - Merge into deployed
    - Upload changed files via lftp

    Would be nice to be able to use fully use an incremental system, but it truly isn't necessary here anyways.

    bms

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Login with Facebook

Share Me

  • Please share this topic with your friends. Click any of the icons below:
  • stumbleupon
  • Twitter
  • facebook
  • myspace
  • technorati
  • reddit
  • fark
  • email