Compare commits

...

1 Commits

Author SHA1 Message Date
Felipe Suero 49b80c3ef0 switch all to main and pull 2023-04-17 14:35:54 -04:00
+16
View File
@@ -0,0 +1,16 @@
## This script syncs all five repositories to the current state of main.
## It will stash changes on the current branch, switch to main, pull and remain on main.
echo "Syncing all repositories to main"
# for each folder in the above directory
cd ..
for d in */ ; do
cd $d
echo "Syncing $d"
echo "current branch: $(git rev-parse --abbrev-ref HEAD)"
git stash
git checkout main
git pull
cd ..
done