Skip to content

Commit 113cdcc

Browse files
authored
chore(Fork): add Pull All command (#7650)
1 parent f3f9ce7 commit 113cdcc

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.fork/custom-commands.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,20 @@
3030
],
3131
"target" : "ref"
3232
},
33+
{
34+
"action" : {
35+
"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",
36+
"showOutput" : false,
37+
"type" : "sh",
38+
"waitForExit" : true
39+
},
40+
"name" : "Pull All",
41+
"refTargets" : [
42+
"localbranch",
43+
"remotebranch"
44+
],
45+
"target" : "ref"
46+
},
3347
{
3448
"action" : {
3549
"script" : "git push origin refs/heads/${ref} --verbose\ngit push gitcode.com refs/heads/${ref} --verbose\ngit push gitee.com refs/heads/${ref} --verbose",

0 commit comments

Comments
 (0)