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.
1 parent 21d12e6 commit bc086c2Copy full SHA for bc086c2
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