Skip to content

Instantly share code, notes, and snippets.

@subtleGradient
Created April 14, 2010 20:27
Show Gist options
  • Select an option

  • Save subtleGradient/366301 to your computer and use it in GitHub Desktop.

Select an option

Save subtleGradient/366301 to your computer and use it in GitHub Desktop.
Open the most recently changed files from your git log using Panic's Transmit.app
echo "Transmitting"
for i in `git log -${1:-1} --name-only|grep -E '^[^ ]+$'|sort|uniq`; do
if [[ -e $i ]]; then
echo " $i"
open -a Transmit $i
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment