Skip to content

Instantly share code, notes, and snippets.

@r3b
Created December 7, 2018 15:17
Show Gist options
  • Select an option

  • Save r3b/e2ea4c6015722994333852a7ba87e631 to your computer and use it in GitHub Desktop.

Select an option

Save r3b/e2ea4c6015722994333852a7ba87e631 to your computer and use it in GitHub Desktop.

Revisions

  1. r3b created this gist Dec 7, 2018.
    8 changes: 8 additions & 0 deletions pullAll.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    for i in $(find . -type d -name '.git');
    do dirname $i;
    echo "$(
    cd $(dirname $i);
    git pull;
    cd -
    )";
    done;