Created
June 27, 2015 09:54
-
-
Save viskri/15e3752ff1d7cafb276e to your computer and use it in GitHub Desktop.
Open all the changed files (uncommitted files) in Sublime
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
function ch { | |
printf "Running git status...\n" | |
printf "Files changed:\n" | |
filesChanged=`git status -s | cut -c4-` | |
echo $filesChanged | |
for word in $filesChanged | |
do | |
sublime $word | |
done | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment