Re: I don't want the .git directory next to my code.
- From
Randal L. Schwartz <merlyn@stonehenge.com>
- Date
- Jan 17, 2008, 05:44 UTC
- Message-ID
- <86myr5f1ki.fsf@blue.stonehenge.com>
- In-Reply-To
- <46a038f90801161859n2f7d8c33kb5d359fb25d07488@mail.gmail.com>
>>>>> "Martin" == Martin Langhoff <martin.langhoff@gmail.com> writes:
Martin> I find the discussion of git-archive as a deployment tool a bit Martin> worrying - remember that untarring a newer version of the tarball on Martin> top of the old version does not remove old files.
"rsync --exclude [dangerous things} --delete --delete-excluded" is your friend.
They added --delete--excluded at my request, by the way.
-- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!