Skip to content

Instantly share code, notes, and snippets.

@jonathanstowe
Created January 21, 2017 11:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonathanstowe/56a92b3887ea0dd50c08eb53c8ab1502 to your computer and use it in GitHub Desktop.
Save jonathanstowe/56a92b3887ea0dd50c08eb53c8ab1502 to your computer and use it in GitHub Desktop.
for FILE in `find . -name 'README.md' | xargs grep -l ufo`
do
DIR=`dirname $FILE`
echo $DIR
pushd $DIR
git pull
vi README.md
git commit README.md
git push
popd
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment