Thread (1 message) 1 message, 1 author, 2016-06-15

Re: I don't want the .git directory next to my code.

From: Randal L. Schwartz <hidden>
Date: 2016-06-15 22:44:06

quoted
quoted
quoted
quoted
"Martin" == Martin Langhoff [off-list ref] 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
[off-list ref] <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!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help