UNPKG

234 Bapplication/x-shView Raw
1#!/bin/sh
2DIR="$(pwd)"
3while read dir; do
4 echo "$dir"
5 cd "$dir"
6 git add .
7 git commit -av < /dev/tty > /dev/tty
8done <<< $(git submodule foreach pwd | grep -v '^Entering')
9cd $DIR
10git add .
11git commit -av < /dev/tty > /dev/tty