Skip to content

Instantly share code, notes, and snippets.

@bcfurtado
Last active June 2, 2024 16:11
Show Gist options
  • Save bcfurtado/bfa86ce691c0604e9c1b to your computer and use it in GitHub Desktop.
Save bcfurtado/bfa86ce691c0604e9c1b to your computer and use it in GitHub Desktop.
A simple bash script to update all my local repos
#!/bin/bash
echo 'Updating repos'
for $project in `find . -type d -depth 1`
do
echo 'Current repo: ' $project
cd $project
git pull
cd ..
done
echo 'Done'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment