[conspire] A Git Tip
Scott DuBois
rhcom.linux at gmail.com
Mon Mar 2 07:33:12 PST 2015
On Sun, Mar 01, 2015 at 05:35:20AM -0800, Deirdre Saoirse Moen wrote:
> 4. My crontab (applicable even for non-WordPress, y’know)
>
> $ crontab -l
> 5 */6 * * * /Users/deirdre/bin/backup-work.sh
>
> (so four times a day at five minutes past the hours divisible by six)
>
> 5. That’s a braindead (hey, it works!) little shell script that has things like this:
>
> echo -e "\n* Git Update: deirdre.net...\n"
> cd /Users/deirdre/Sites/deirdre.net
> git add *
> git add .htaccess
> git commit -m "Automatic checkin."
> git push -u origin master
>
> et voila.
>
> Deirdre
Brilliant!
Thanks. =)
--
Scott DuBois "Computers make excellent and efficient servants...
BSIT/SE but I have no wish to serve under them."
EFF ID: 1731778 -- Spock
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://linuxmafia.com/pipermail/conspire/attachments/20150302/9a78e559/attachment.pgp>
More information about the conspire
mailing list