On Mon, Aug 17, 2009 at 1:43 PM, collimarco<[email protected]> wrote: > > Does Capistrano update my online app using the last Git (scm in > general) commit, or does it use my working copy (the local files)? > > I ask this because I have a Gallery-style app that has been already > deployed. My local version has many photos (created by Paperclip in > public/pictures) that I use only for local testing, and I absolutely > do NOT want them to overwrite my real photos which are online. > > I also have a git repository which only tracks my code and ignore > photos. > > When I type cap deploy:migrations does it pull my git repository or my > working copy to update the online app? i.e. does Capistrano will > overwrite my online photos with local ones, or it will ignore them > because git ignore them? > Capistrano will use your local copy only to get the latest commit id, which will then be checked out on the remote server from the master. It only deploys from your local repository if you ask it to.
Cheers, Mathias -- http://paperplanes.de http://twitter.com/roidrage --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Capistrano" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.co.uk/group/capistrano?hl=en -~----------~----~----~----~------~----~------~--~---
