Re: git repository in production release

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2010-10-21 at 12:13 +0000, Jonas 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.
> 
> 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. 
> When I run cap deploy Capistrano makes a new release and makes a new 
> directory under releases from the repository, I guess this is standard.
> 
> 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?

Why is this a git problem and not a Capistrano problem?

-- 
-Drew Northup
________________________________________________
"As opposed to vegetable or mineral error?"
-John Pescatore, SANS NewsBites Vol. 12 Num. 59

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]