File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
src/vs/workbench/contrib/terminalContrib/quickFix/browser Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -127,11 +127,22 @@ export function gitPushSetUpstream(): ITerminalQuickFixInternalOptions {
127
127
id : 'Git Push Set Upstream' ,
128
128
type : 'internal' ,
129
129
commandLineMatcher : GitPushCommandLineRegex ,
130
+ /**
131
+ 8 PS C:\Users\merogge\repos\xterm.js> git push
132
+ 7 fatal: The current branch sdjfskdjfdslkjf has no upstream branch.
133
+ 6 To push the current branch and set the remote as upstream, use
134
+ 5
135
+ 4 git push --set-upstream origin sdjfskdjfdslkjf
136
+ 3
137
+ 2 To have this happen automatically for branches without a tracking
138
+ 1 upstream, see 'push.autoSetupRemote' in 'git help config'.
139
+ 0
140
+ */
130
141
outputMatcher : {
131
142
lineMatcher : GitPushOutputRegex ,
132
143
anchor : 'bottom' ,
133
- offset : 0 ,
134
- length : 5
144
+ offset : 3 ,
145
+ length : 2
135
146
} ,
136
147
commandExitResult : 'error' ,
137
148
getQuickFixes : ( matchResult : ITerminalCommandMatchResult ) => {
You can’t perform that action at this time.
0 commit comments