Created
June 16, 2021 18:40
-
-
Save planetoftheweb/7555dd887d570f17967f065b8165904d to your computer and use it in GitHub Desktop.
This file contains 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 | |
arr=( "design" "feature" ); | |
for ITEM in ${arr[@]} | |
do | |
git checkout $ITEM | |
git checkout main build/css/bootstrap.min.css | |
git checkout main build/css/bootstrap.min.css.map | |
git checkout main build/js/lib/bootstrap.bundle.min.js | |
git checkout main build/js/lib/bootstrap.bundle.min.js.map | |
git add --A | |
git commit -m "Updated to new version of Bootstrap" | |
# git push --set-upstream origin $ITEM | |
done | |
git checkout main | |
echo "Changes updated" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment