Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to split the Git Bash into more than one “view” in Windows?

I want to run two commands at the same time in Git Bash.

  • webpack -w
  • node server.js

So i want to split my terminal into two or multiple tabs.

How to split the terminal into multiple views ?

like image 883
Anyname Donotcare Avatar asked Jun 30 '17 08:06

Anyname Donotcare


People also ask

How do I open multiple Git bash Windows?

You can use multiple GIT Bash tabs inside VSCode, if you use it as IDE. Press CTRL + SHIFT + ' to open the terminal. You will se a dropdown to the right where you can select bash as default shell if you have GIT Bash installed. You can then use multiple tabs within VSCode.

How do you split a Windows terminal?

If you'd like to open a new pane through the dropdown menu, you can hold alt and click on your desired profile. Both of these options will auto split the active window or pane into a new pane of the selected profile.


1 Answers

Your requirements are:

  • Use git bash
  • Split into 2 or more tabs

You can archive this the following way.

  1. Download Visual Studio Code
  2. Change your integrated terminal to git bash. "terminal.integrated.shell.windows": "C:\Program Files\Git\bin\bash.exe"
  3. Open a new terminal by clicking on Terminal > new Terminal in VS Code top navigation bar.
  4. Split your terminal
like image 79
Matthis Kohli Avatar answered Sep 18 '22 06:09

Matthis Kohli