8

Sorry if this is the wrong place to be posting but I am using the git bash program for windows downloaded from github.

It pretty much functions the same as a linux / mac terminal and I was wondering if there was any software out there that does the same thing?

The problem is that I can only have one git bash window open, if there is a way to open more than 1 instance of git bash, that would be great too!

Thanks a lot,

Martin

4 Answers 4

9

Github for Windows uses a Windows port of GNU bash which is provided by the MSYS project which is, in turn, a part of the MinGW project. As Andrew pointed out, this piece of software is really a part of Git for Windows which Github for Windows includes and uses internally.

So you can get bash for Windows outside of Github for Windows by installing MSYS.

Note though that Git for Windows is based on a modified msys.dll which received substantial amount of changes not included upstream. I'm not sure if this constitutes a user-noticeable change but "stock" bash might therefore differ in behaviour from that you're using inside Github for Windows.

Also note that this port of bash hasn't been taught to properly deal with non-ASCII characters. Hence even though Git for Windows is full Unicode since 1.7.10, bash doesn't know about this and I'm not sure it ever will.

8

It uses Git for Windows, a packing containing MSys/MinGW and git. You can get multiple tabs using a wrapper like console.

3
  • Great thanks. Do you know of any guide setting up mysysgit with console? Thanks again!
    – Martin
    Jun 4, 2012 at 8:53
  • Please don't use wrong terminology: "msysgit" is a development evrironment to develop Git for Windows, and "Git for Windows" is what that "Github for Windows" software uses. This distinction is made clear on the project's website. So please consider editing your answer.
    – kostix
    Jun 4, 2012 at 14:32
  • 2
    @kostix So it is - the "msysgit" name reflects the component names and I used MSYS by itself long before I'd used git. I really should have read their page more thoroughly. Edited accordingly.
    – Andrew
    Jun 5, 2012 at 1:05
3

Both on Windows 7 and 8 you can shift+left-click the Git icon, in the launchbar or the magical search box, to open another instance.

Alternatively, you can just double-click the shortcut or sh.exe in Git/bin/.

Note: Includes improvement from Fergie and botimer.

2
  • 1
    Good tip- but it's actually shift+left-click :)
    – Fergie
    Aug 21, 2013 at 7:41
  • 1
    This also works on Windows 8, as well as in the magical search boxes. For example, Win+S, start typing git, and shift-click or hit shift-enter to launch a new window rather than activating an already-open one.
    – botimer
    Jul 22, 2014 at 19:18
1

Here is an article about "Replacing default git bash console with Console2" that'll help you.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.