Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Shell script to pull updates from git for all subfolders
files=`ls $1`
for file in $files; do
if [ -d $file ];then
cd $file
git pull
git checkout rel-15
cd ..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.