This repository contains a collection of useful shell scripts.
This script loops through a list of directories, checks out the default branch, and runs git pull
.
-
Make the script executable:
chmod +x scripts/update_repos.sh
-
Install
sudo make all
-
Reload the profile
source ~/.zshrc
-
Run
update_repos {path}