ashizawa
2/25/2014 - 2:56 AM

git-transmit

#!/usr/bin/env bash
# author: Thomas Aylott SubtleGradient.com

echo "Transmitting"
for i in `git log -${1:-1} $2 --name-only|grep -E '^[^ ]+$'|sort|uniq`; do
	if [[ -e $i ]]; then
		echo "	$i"
		open -a Transmit $i
	fi
done