Last active
May 30, 2017 14:53
-
-
Save Gummibeer/c93a826d417b7dd3e2deeeb920db5053 to your computer and use it in GitHub Desktop.
Send a single commit for every changed file
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
git status --porcelain | while read -r a; do if [[ $a == M* ]] ; then FILE=`echo "$a" | awk '{print $2}'`; git commit -m "[ISSUE] $FILE" $FILE; fi done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment