git Push (it) origin master

We all love git!
And we all love to push our lovely code into a git repository. But the git push-command is more pleasant if your run it with this alias:

alias gitpush=\
'/Applications/Firefox.app/Contents/MacOS/firefox \
http://www.youtube.com/watch?v=BCV5yGKWjv4; \
git push origin master'

Update: Sebastian gives me the hint, to open this youtube-Movie with the open command:

alias gitpush=\
'open http://www.youtube.com/watch?v=BCV5yGKWjv4; \
git push origin master'

Comments

2 Responses to “git Push (it) origin master”

  1. Basti on October 28th, 2008 6:16 pm

    Nice idea! :)

    But I would suggest using “open http://www.youtube.com/watch?v=BCV5yGKWjv4” instead of the explicit Firefox command. Works with any standard browser set on the system.

  2. Jan on October 29th, 2008 3:05 pm

    Thanks basti! You’re definitively right, i’ll update this script.

Leave a Reply




Technorati Profile