Last active
May 20, 2023 00:52
-
-
Save qoopooh/fcad0f833e4630f77d1b7cf8bebd95ad to your computer and use it in GitHub Desktop.
Pull all git repositories when we connect VPN
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Pull all SD repositories | |
# | |
SD_PROJS=( | |
SDAndroidApp | |
YornameApp | |
android-screenshot | |
babel | |
certbot-service | |
iApp | |
ifreesite | |
iyorname | |
ring2chat | |
screenshot-scripts | |
simdif-comments | |
simdif-edt | |
simdif-gardenv2 | |
simdif-home | |
simdif-push | |
simdif-tracking | |
taums | |
v2-docker | |
yorname | |
yorname-docker | |
) | |
cd $HOME/git/FreeSiteApp && git pull | |
for proj in "${SD_PROJS[@]}" | |
do | |
echo "$proj" | |
cd ../$proj && git pull | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment