From 3e71547d628925df957dc8a842783c3071ac9f6a Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Tue, 10 Feb 2026 11:10:18 +0800 Subject: [PATCH] chore(Fork): add Pull All command --- .fork/custom-commands.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.fork/custom-commands.json b/.fork/custom-commands.json index cd91ad2d2b2..8f8ca2ece26 100644 --- a/.fork/custom-commands.json +++ b/.fork/custom-commands.json @@ -30,6 +30,20 @@ ], "target" : "ref" }, + { + "action" : { + "script" : "git stash save --message \"Pull autostash\"\ngit pull --rebase=true origin --prune\ngit pull --rebase=true gitee.com\ngit pull --rebase=true gitcode.com", + "showOutput" : false, + "type" : "sh", + "waitForExit" : true + }, + "name" : "Pull All", + "refTargets" : [ + "localbranch", + "remotebranch" + ], + "target" : "ref" + }, { "action" : { "script" : "git push origin refs/heads/${ref} --verbose\ngit push gitcode.com refs/heads/${ref} --verbose\ngit push gitee.com refs/heads/${ref} --verbose",