Skip to content

Commit a8f68d1

Browse files
authored
Removed Posh-Git GitHub for Windows reference
I installed some of the latest GitHub for Windows versions on Windows 10 and no PoSh-Git gets installed, so i think this information deprecated.
1 parent 295a3cd commit a8f68d1

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

book/A-git-in-other-environments/sections/powershell.asc

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,7 @@ It looks like this:
1010
.Powershell with Posh-git.
1111
image::images/posh-git.png[Powershell with Posh-git.]
1212

13-
If you've installed GitHub for Windows, Posh-Git is included by default, and all you have to do is add these lines to your `profile.ps1` (which is usually located in `C:\Users\<username>\Documents\WindowsPowerShell`):
14-
15-
[source,powershell]
16-
-----
17-
. (Resolve-Path "$env:LOCALAPPDATA\GitHub\shell.ps1")
18-
. $env:github_posh_git\profile.example.ps1
19-
-----
20-
21-
If you're not a GitHub for Windows user, just download a Posh-Git release from (https://github.com/dahlbyk/posh-git[]), and uncompress it to the `WindowsPowershell` directory.
13+
Just download a Posh-Git release from (https://github.com/dahlbyk/posh-git[]), and uncompress it to the `WindowsPowershell` directory.
2214
Then open a Powershell prompt as the administrator, and do this:
2315

2416
[source,powershell]

0 commit comments

Comments
 (0)