Great! It helped.
Thanks :-) j On 21 Okt, 18:19, Joe Hassick <[email protected]> wrote: > Add something like this to your Capfile or deploy.rb: > > set :copy_exclude, ".git*" > > That should exclude the .git directory and any other file that begins with > .git (like .gitignore). > > Joe > > On Oct 21, 2010, at 9:35 AM, jeb <[email protected]> wrote: > > > > > Hi, > > > I am afraid this is a rather stupid question, but I have spent quite > > some time to figure it out without any > > success. Nor do I know if this is a git och capistrano issue. > > > I use git in my Ruby on Rails applications. On my deployment server > > there is a git directory that I push to > > in the admin users directory, Capistrano then puts the files in my > > webserver directory... Standard I guess. > > > My releases are getting bigger and bigger, it takes longer and longer > > time for the cap deploy command to > > finish and the backups contain a huge number of files. > > > What puzzels me is that in every release there is a .git directory. > > As far as I can see it makes no use there, > > just takes up much space. Is it supposed to be like this or have I > > made a mess? > > > How can I get rid of the .git directory in the deployment releases? > > > :-) j > > > -- > > * 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 > > athttp://groups.google.com/group/capistrano?hl=en -- * 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.com/group/capistrano?hl=en
