We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcfd9ed commit d6bd489Copy full SHA for d6bd489
1 file changed
.github/workflows/main.yml
@@ -20,13 +20,12 @@ jobs:
20
git config user.name "github-actions[bot]"
21
git config user.email "github-actions[bot]@users.noreply.github.com"
22
23
- # 添加上游仓库
24
git remote add upstream https://github.com/Fanju6/NetProxy-Magisk.git
25
git fetch upstream
26
27
- # 合并上游 main 分支
+ # 强制使用上游的 main 分支
28
git checkout main
29
- git merge upstream/main --no-edit
+ git reset --hard upstream/main
30
31
- # 推送到 Fork
32
- git push origin main
+ # 强制推送到 Fork
+ git push origin main --force
0 commit comments