We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 21d12e6 + bc086c2 commit 032cab3Copy full SHA for 032cab3
scripts/sync
@@ -21,14 +21,14 @@ if [ "$current_branch" = "main" ]; then
21
# 推送到每个远程仓库
22
for repoName in "${remoteList[@]}"
23
do
24
- echo "-->Pushing to $repoName in master branch..."
+ echo "-->Pushing to $repoName in $current_branch branch..."
25
git push "$repoName" main
26
done
27
# next分支同步
28
elif [ "$current_branch" = "next" ]; then
29
30
31
- echo "-->Pushing to $repoName in next branch..."
32
git push "$repoName" next
33
34
else
0 commit comments