Created
March 27, 2024 20:22
-
-
Save peterbe/09239026d9335afbbc948507b8cd61ae 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 | |
set -ex | |
# 1 | |
pushd docs-internal.de-de | |
git diff --exit-code | |
git checkout main | |
git pull origin main | |
popd | |
# 2 | |
pushd docs-internal.es-es | |
git diff --exit-code | |
git checkout main | |
git pull origin main | |
popd | |
# 3 | |
pushd docs-internal.fr-fr | |
git diff --exit-code | |
git checkout main | |
git pull origin main | |
popd | |
# 4 | |
pushd docs-internal.ja-jp | |
git diff --exit-code | |
git checkout main | |
git pull origin main | |
popd | |
# 5 | |
pushd docs-internal.ko-kr | |
git diff --exit-code | |
git checkout main | |
git pull origin main | |
popd | |
# 6 | |
pushd docs-internal.pt-br | |
git diff --exit-code | |
git checkout main | |
git pull origin main | |
popd | |
# 7 | |
pushd docs-internal.ru-ru | |
git diff --exit-code | |
git checkout main | |
git pull origin main | |
popd | |
# 8 | |
pushd docs-internal.zh-cn | |
git diff --exit-code | |
git checkout main | |
git pull origin main | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment