debuggable

 
Contact Us
 

Unix is love

git ci -m "Updated sidebar" && git push && deploy blog && say "Done"

No, this is not pseudo code. I just ran this : ).

Also read the previous "use the terminal" post.

-- Felix Geisendörfer aka the_undefined

Abhimanyu Grover said on Nov 05, 2008:

WOW. This looks pretty cool.

FreakCake said on Nov 10, 2008:

Hey Felix,
is the "deploy" stuff for Capistrano or git itself?

Felix Geisendörfer said on Nov 10, 2008:

FreakCake: Nah it's just a PHP script that has a list of all my projects and then runs this command:

<?php
shell_exec(sprintf('ssh %s "%s"', $server, $cmd));
?>

Where $cmd is something like: 'cd <project_path> && git pull'.

Add a comment