Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] git: push from behind the firewall
- Date: Thu, 14 Jul 2011 13:33:17 +1200
- From: Jim Tittsler <jwt-tlug@example.com>
- Subject: Re: [tlug] git: push from behind the firewall
- References: <4E1A91F4.9090809@example.com>
- User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0
On 2011-07-11 18:02, Darren Cook wrote: > And it would create the repository on live.example.com just as if I'd > done git clone from there. [...] > Getting more sophisticated, I don't want documentation, examples, etc. > uploaded, and also don't want the live server error logs and data > deleted, so this may be better: In the yet another way to do it, you could mimic part of what no.de or heroku do by abusing git hooks. I start with a "bare" repository that is elsewhere on my live server, and then "deploy" by taking advantage of the git post-update hook ... which not only copies across the files I'm interested in but automates other bits of the deployment process (schema updates, log rotations, test settings, doing some actions atomically, ...) I used to forget. -- Jim Tittsler 7J1AJH/ZL2IA/AI8A Te Anau, NZ GPG: 0x01159DB6 Kanto Computer Calendar http://www.OnJapan.net/calendar/ Python Starship http://Starship.Python.net/
- References:
- [tlug] git: push from behind the firewall
- From: Darren Cook
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] How to proceed with RAID drive failure [SOLVED]
- Next by Date: Re: [tlug] How to proceed with RAID drive failure
- Previous by thread: [tlug] git: push from behind the firewall
- Next by thread: [tlug] Invitation to connect on LinkedIn
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links