Unix is love

Posted by Felix Geisendörfer, on Nov 04, 2008 - in Everything else » Quickies

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

Print this Post | Digg This | Stumble It | Delicious

3 Comments

Abhimanyu Grover on Nov 05, 2008:

WOW. This looks pretty cool.

FreakCake on Nov 10, 2008:

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

Felix Geisendörfer 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
  1. shell_exec(sprintf('ssh %s "%s"', $server, $cmd));

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

Add a comment