@@ -238,9 +238,9 @@ func runRebase(cfg *config.Config, opts *rebaseOptions) error {
238238 printConflictDetails (cfg , newBase )
239239 cfg .Printf ("" )
240240
241- cfg .Printf ("Resolve conflicts on %s, then run %s " ,
241+ cfg .Printf ("Resolve conflicts on %s, then run `%s` " ,
242242 br .Branch , cfg .ColorCyan ("gh stack rebase --continue" ))
243- cfg .Printf ("Or abort this operation with %s " ,
243+ cfg .Printf ("Or abort this operation with `%s` " ,
244244 cfg .ColorCyan ("gh stack rebase --abort" ))
245245 return fmt .Errorf ("rebase conflict on %s" , br .Branch )
246246 }
@@ -286,9 +286,9 @@ func runRebase(cfg *config.Config, opts *rebaseOptions) error {
286286 printConflictDetails (cfg , base )
287287 cfg .Printf ("" )
288288
289- cfg .Printf ("Resolve conflicts on %s, then run %s " ,
289+ cfg .Printf ("Resolve conflicts on %s, then run `%s` " ,
290290 br .Branch , cfg .ColorCyan ("gh stack rebase --continue" ))
291- cfg .Printf ("Or abort this operation with %s " ,
291+ cfg .Printf ("Or abort this operation with `%s` " ,
292292 cfg .ColorCyan ("gh stack rebase --abort" ))
293293 return fmt .Errorf ("rebase conflict on %s" , br .Branch )
294294 }
@@ -322,7 +322,7 @@ func runRebase(cfg *config.Config, opts *rebaseOptions) error {
322322 }
323323
324324 cfg .Printf ("%s rebased locally with %s" , rangeDesc , s .Trunk .Branch )
325- cfg .Printf ("To push up your changes and open/update the stack of PRs, run %s " ,
325+ cfg .Printf ("To push up your changes and open/update the stack of PRs, run `%s` " ,
326326 cfg .ColorCyan ("gh stack push" ))
327327
328328 return nil
@@ -436,9 +436,9 @@ func continueRebase(cfg *config.Config, gitDir string) error {
436436 cfg .Warningf ("Rebasing %s onto %s — conflict" , branchName , newBase )
437437 printConflictDetails (cfg , newBase )
438438 cfg .Printf ("" )
439- cfg .Printf ("Resolve conflicts on %s, then run %s " ,
439+ cfg .Printf ("Resolve conflicts on %s, then run `%s` " ,
440440 branchName , cfg .ColorCyan ("gh stack rebase --continue" ))
441- cfg .Printf ("Or abort this operation with %s " ,
441+ cfg .Printf ("Or abort this operation with `%s` " ,
442442 cfg .ColorCyan ("gh stack rebase --abort" ))
443443 return fmt .Errorf ("rebase conflict on %s" , branchName )
444444 }
@@ -476,9 +476,9 @@ func continueRebase(cfg *config.Config, gitDir string) error {
476476 cfg .Warningf ("Rebasing %s onto %s — conflict" , branchName , base )
477477 printConflictDetails (cfg , base )
478478 cfg .Printf ("" )
479- cfg .Printf ("Resolve conflicts on %s, then run %s " ,
479+ cfg .Printf ("Resolve conflicts on %s, then run `%s` " ,
480480 branchName , cfg .ColorCyan ("gh stack rebase --continue" ))
481- cfg .Printf ("Or abort this operation with %s " ,
481+ cfg .Printf ("Or abort this operation with `%s` " ,
482482 cfg .ColorCyan ("gh stack rebase --abort" ))
483483 return fmt .Errorf ("rebase conflict on %s" , branchName )
484484 }
@@ -497,7 +497,7 @@ func continueRebase(cfg *config.Config, gitDir string) error {
497497 _ = stack .Save (gitDir , sf )
498498
499499 cfg .Printf ("All branches in stack rebased locally with %s" , s .Trunk .Branch )
500- cfg .Printf ("To push up your changes and open/update the stack of PRs, run %s " ,
500+ cfg .Printf ("To push up your changes and open/update the stack of PRs, run `%s` " ,
501501 cfg .ColorCyan ("gh stack push" ))
502502
503503 return nil
@@ -594,6 +594,6 @@ func printConflictDetails(cfg *config.Config, branch string) {
594594 cfg .Printf (" %s" , cfg .ColorCyan ("=======" ))
595595 cfg .Printf (" %s (changes being rebased)" , cfg .ColorCyan (">>>>>>>" ))
596596 cfg .Printf (" 2. Edit the file to keep the desired changes and remove the markers" )
597- cfg .Printf (" 3. Stage resolved files: %s " , cfg .ColorCyan ("git add <file>" ))
598- cfg .Printf (" 4. Continue the rebase: %s " , cfg .ColorCyan ("gh stack rebase --continue" ))
597+ cfg .Printf (" 3. Stage resolved files: `%s` " , cfg .ColorCyan ("git add <file>" ))
598+ cfg .Printf (" 4. Continue the rebase: `%s` " , cfg .ColorCyan ("gh stack rebase --continue" ))
599599}
0 commit comments