Skip to content

Commit f86a0e2

Browse files
committed
Replace all occurrences of Powershell with PowerShell
1 parent 4486dc8 commit f86a0e2

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

book/01-introduction/sections/command-line.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ For one, the command line is the only place you can run _all_ Git commands -- mo
77
If you know how to run the command-line version, you can probably also figure out how to run the GUI version, while the opposite is not necessarily true.
88
Also, while your choice of graphical client is a matter of personal taste, _all_ users will have the command-line tools installed and available.
99

10-
So we will expect you to know how to open Terminal in Mac or Command Prompt or Powershell in Windows.
10+
So we will expect you to know how to open Terminal in Mac or Command Prompt or PowerShell in Windows.
1111
If you don't know what we're talking about here, you may need to stop and research that quickly so that you can follow the rest of the examples and descriptions in this book.

book/01-introduction/sections/installing.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Note that the Chocolatey package is community maintained.
6767

6868
Another easy way to get Git installed is by installing GitHub Desktop.
6969
The installer includes a command line version of Git as well as the GUI.
70-
It also works well with Powershell, and sets up solid credential caching and sane CRLF settings.(((Powershell)))(((CRLF)))(((credential caching)))
70+
It also works well with PowerShell, and sets up solid credential caching and sane CRLF settings.(((PowerShell)))(((CRLF)))(((credential caching)))
7171
We'll learn more about those things a little later, but suffice it to say they're things you want.
7272
You can download this from the https://desktop.github.com/[GitHub Desktop website].
7373

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ When the applications are first run, they walk you through all the first-time Gi
101101

102102
Both are ``evergreen'' – updates are downloaded and installed in the background while the applications are open.
103103
This helpfully includes a bundled version of Git, which means you probably won't have to worry about manually updating it again.
104-
On Windows, the client includes a shortcut to launch Powershell with Posh-git, which we'll talk more about later in this chapter.
104+
On Windows, the client includes a shortcut to launch PowerShell with Posh-git, which we'll talk more about later in this chapter.
105105

106106
The next step is to give the tool some repositories to work with.
107107
The client shows you a list of the repositories you have access to on GitHub, and can clone them in one step.

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
[[_git_powershell]]
2-
=== Git in Powershell
2+
=== Git in PowerShell
33

44
(((powershell)))(((tab completion, powershell)))(((shell prompts, powershell)))
55
(((posh-git)))
6-
The legacy command-line terminal on Windows (`cmd.exe`) isn't really capable of a customized Git experience, but if you're using Powershell, you're in luck.
6+
The legacy command-line terminal on Windows (`cmd.exe`) isn't really capable of a customized Git experience, but if you're using PowerShell, you're in luck.
77
This also works if you're running PowerShell on a non-Windows platform like Debian.
88
A package called Posh-Git (https://github.com/dahlbyk/posh-git[]) provides powerful tab-completion facilities, as well as an enhanced prompt to help you stay on top of your repository status.
99
It looks like this:
1010

11-
.Powershell with Posh-git.
12-
image::images/posh-git.png[Powershell with Posh-git.]
11+
.PowerShell with Posh-git.
12+
image::images/posh-git.png[PowerShell with Posh-git.]
1313

1414
==== Installation
1515
===== Prerequisites (Windows only)
@@ -45,7 +45,7 @@ If the second command fails with an error like `Module 'PowerShellGet' was not i
4545
----
4646

4747
Then you can go back and try again.
48-
This happens, because the modules that ship with Windows Powershell are signed with a different publishment certificate.
48+
This happens, because the modules that ship with Windows PowerShell are signed with a different publishment certificate.
4949

5050
===== Update PowerShell Prompt
5151
To include git information in your prompt, posh-git needs to be imported. To do this automatically, include the import statement into you $profile script. This script is executed everytime you open a new PowerShell prompt.
@@ -57,8 +57,8 @@ Keep in mind, that there are multiple $profile scripts. E. g. one for the consol
5757
-----
5858

5959
===== From Source
60-
Just download a Posh-Git release from (https://github.com/dahlbyk/posh-git[]), and uncompress it to the `WindowsPowershell` directory.
61-
Then open a Powershell prompt as an administrator, and do this:
60+
Just download a Posh-Git release from (https://github.com/dahlbyk/posh-git[]), and uncompress it to the `WindowsPowerShell` directory.
61+
Then open a PowerShell prompt as an administrator, and do this:
6262
[source,powershell]
6363
-----
6464
> cd ~\Documents\WindowsPowerShell\Module\posh-git

0 commit comments

Comments
 (0)