Re: recipe to use git for deployment

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

 



On Sat, May 5, 2012 at 11:00 AM, Neal Kreitzinger
<nkreitzinger@xxxxxxxxx> wrote:

> Interestingly, git-archive was not intended for deployment, but it does
> pretty good at it.

Except it doesn't delete files that should be deleted (the way 'git
checkout' does or rsync would if you gave it --delete).

On a lark I once wrote a very efficient way of dealing with this; see
attached.  It's probably won't work on anything but Linux and requires
bash, and it's only been minimally tested and I do not actually use
it, but someone might like it.

Attachment: tar-checkout-f
Description: Binary data


[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]