Last active
October 30, 2018 11:05
-
-
Save julkwel/920dff386fdeef754b8406fcfacf7c3d to your computer and use it in GitHub Desktop.
Ewample script pull git
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 jul script | |
echo "** start **" | |
repos=( | |
#Your repository need to pull here | |
"repos1" | |
"repos2" | |
"repos3" | |
) | |
echo "update ${#repos[@]} " | |
for repo in "${repos[@]}" | |
do | |
cd "${repo}" | |
git pull | |
done | |
echo "** finished **" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment