Skip to content

Commit 35ffac5

Browse files
committed
git prune task
1 parent 7525051 commit 35ffac5

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.vscode/tasks.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,24 @@
7777
"dependsOrder": "sequence",
7878
"detail": "Runs commit message lint and whitespace checks in the same order as CI"
7979
},
80+
{
81+
"label": "git: prune remote branches",
82+
"type": "shell",
83+
"command": "git fetch --prune",
84+
"detail": "Remove stale remote-tracking branches that were deleted on the server.",
85+
"options": {
86+
"shell": {
87+
"executable": "powershell.exe",
88+
"args": [
89+
"-NoProfile",
90+
"-ExecutionPolicy",
91+
"Bypass",
92+
"-Command"
93+
]
94+
}
95+
},
96+
"problemMatcher": []
97+
},
8098
{
8199
"label": "COPILOT: Detect updates needed",
82100
"type": "shell",

0 commit comments

Comments
 (0)