Git shell errors out

49 views Asked by At

I have both Git Bash and Git Shell.

When I run Git Bash I don't have any issues.

However running Git Shell, I received following:

Windows PowerShell
Copyright (C) 2014 Microsoft Corporation. All rights reserved.

Identity added: /c/Users/Igor/.ssh/id_rsa (/c/Users/Igor/.ssh/id_rsa)
WARNING: posh-git's profile.example.ps1 will be removed in a future version. To avoid a change in behavior, copy its
contents into your C:\Users\Igor\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1.

I think this message comes from one of the earlier versions of Git software.

All I want to do right now is to switch to use Git Shell. Its interface is closer to *nix one.

What is the best way of doing that?

1

There are 1 answers

5
VonC On

It comes from dahlbyk/posh-git commit fa7941b, v0.7.0-pre1, Jan. 2016(!)

Since Git for Windows does not comes with posh-git, it means you have posh-git on your %PATH%.

In a simple CMD, as long as you have C:\Program Files\Git\bin in your %PATH% (where bash.exe is), a simple bash is enough to switch to a bash session.