?

Log in

No account? Create an account
 
 
Benabik Alvar
28 October 2009 @ 04:22 pm

It's true. It really is. I just spent an hour writing an Applescript to keep me from having to do the same set of commands over and over and over again.

The Problem: I have seven pieces of software that I like to keep up to date with the bleeding edge. To do so I have to do the following:

  1. Open a new Terminal.app tab
  2. Type in "cd <directory>"
  3. Remember if it's a git or svn repository
  4. Type in either "git pull" or "git svn rebase"
  5. Once the update is complete, notice if there are any updates. If not, stop.
  6. If there have been, optionally push those changes to a mirror with "git push"
  7. List the changes using "git changes" (an alias I've set up in my ~/.gitconfig)

The Solution (cut for excessive AppleScript geekery)Collapse )
 
 
Current Mood: accomplishedaccomplished
Current Music: Starbucks Music