forked from OpenQDev/OpenQ-Fullstack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpull.sh
More file actions
executable file
·32 lines (29 loc) · 707 Bytes
/
Copy pathpull.sh
File metadata and controls
executable file
·32 lines (29 loc) · 707 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash
declare -a repos=(
"OpenQ-CoinAPI"
"OpenQ-Oracle"
"OpenQ-Frontend"
"OpenQ-Contracts"
"OpenQ-Github-OAuth-Server"
"OpenQ-Graph"
"OpenQ-Kubeconfig"
"OpenQ-Bot"
"OpenQ-API"
"OpenQ-Architecture"
"OpenQ-OZ-Claim-Autotask"
"OpenQ-Documentation"
"OpenQ-Bounty-Actions-Autotask"
"OpenQ-Event-Listener"
"OpenQ-Token-Price-Cron-Job"
"Superfluid-Subgraph"
)
echo 'CAREFUL THIS SCRIPT STASHES ALL REPOS'
for repo in "${repos[@]}"
do
cd "$repo"
git status
git stash
git pull
echo "Pulled $repo"
cd ..
done