-3

I can open a new git tab in windows terminal but if I click on the button in the context menu "git bash here" it opens in its own window.

torek
  • 448,244
  • 59
  • 642
  • 775
timer
  • 13
  • 1

2 Answers2

0

(As of Terminal v1.16)

Besides just changing your default profile to git bash, this currently isn't possible. This is currently tracked in Add a explorer context menu entry to let the user pick the profile they want to "open here", microsoft/terminal#6111

zadjii
  • 529
  • 2
  • 4
0

add "git bash here in WT" in background of windows explorer

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\Git_WinTerm]
@="Git &Bash Here in WT"
"Icon"="C:\\Program Files\\Git\\git-bash.exe"

[HKEY_CLASSES_ROOT\Directory\Background\shell\Git_WinTerm\command]
@="wt -w 0 nt -d \"%v.\" -p \"Git Bash\""
user2959760
  • 460
  • 4
  • 12