Skip to content

Commit 2f34cbf

Browse files
authored
Merge pull request #1233 from aollier/one_sentence_per_line
One sentence per line
2 parents 250bb6d + b2f184b commit 2f34cbf

File tree

15 files changed

+181
-108
lines changed

15 files changed

+181
-108
lines changed

LICENSE.asc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. To view a copy of this license, visit https://creativecommons.org/licenses/by-nc-sa/3.0 or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
1+
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
2+
To view a copy of this license, visit https://creativecommons.org/licenses/by-nc-sa/3.0 or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.

book/02-git-basics/sections/tagging.asc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,8 @@ Previous HEAD position was 99ada87... Merge pull request #89 from schacon/append
280280
HEAD is now at df3f601... add atlas.json and cover image
281281
----
282282

283-
In ``detached HEAD'' state, if you make changes and then create a commit, the tag will stay the same, but your new commit won't belong to any branch and will be unreachable, except by the exact commit hash. Thus, if you need to make changes -- say you're fixing a bug on an older version, for instance -- you will generally want to create a branch:
283+
In ``detached HEAD'' state, if you make changes and then create a commit, the tag will stay the same, but your new commit won't belong to any branch and will be unreachable, except by the exact commit hash.
284+
Thus, if you need to make changes -- say you're fixing a bug on an older version, for instance -- you will generally want to create a branch:
284285

285286
[source,console]
286287
----

book/03-git-branching/sections/remote-branches.asc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ Branch serverfix set up to track remote branch serverfix from origin.
146146
Switched to a new branch 'serverfix'
147147
----
148148

149-
In fact, this is so common that there's even a shortcut for that shortcut. If the branch name you're trying to checkout (a) doesn't exist and (b) exactly matches a name on only one remote, Git will create a tracking branch for you:
149+
In fact, this is so common that there's even a shortcut for that shortcut.
150+
If the branch name you're trying to checkout (a) doesn't exist and (b) exactly matches a name on only one remote, Git will create a tracking branch for you:
150151

151152
[source,console]
152153
----

book/05-distributed-git/sections/maintaining.asc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,8 @@ image::images/large-merges-2.png[Merging contributed topic branches into long-te
363363
When a topic branch has finally been merged into `master`, it's removed from the repository.
364364
The Git project also has a `maint` branch that is forked off from the last release to provide backported patches in case a maintenance release is required.
365365
Thus, when you clone the Git repository, you have four branches that you can check out to evaluate the project in different stages of development, depending on how cutting edge you want to be or how you want to contribute; and the maintainer has a structured workflow to help them vet new contributions.
366-
The Git project's workflow is specialized. To clearly understand this you could check out the https://github.com/git/git/blob/master/Documentation/howto/maintain-git.txt[Git Maintainer's guide].
366+
The Git project's workflow is specialized.
367+
To clearly understand this you could check out the https://github.com/git/git/blob/master/Documentation/howto/maintain-git.txt[Git Maintainer's guide].
367368

368369
[[_rebase_cherry_pick]]
369370
===== Rebasing and Cherry-Picking Workflows

book/06-github/sections/2-contributing.asc

Lines changed: 100 additions & 39 deletions
Large diffs are not rendered by default.

book/07-git-tools/sections/credentials.asc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,8 @@ Here's the full source code of our new credential helper:
168168
include::../git-credential-read-only[]
169169
--------
170170

171-
<1> Here we parse the command-line options, allowing the user to specify the input file. The default is `~/.git-credentials`.
171+
<1> Here we parse the command-line options, allowing the user to specify the input file.
172+
The default is `~/.git-credentials`.
172173
<2> This program only responds if the action is `get` and the backing-store file exists.
173174
<3> This loop reads from stdin until the first blank line is reached.
174175
The inputs are stored in the `known` hash for later reference.

book/07-git-tools/sections/revision-selection.asc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,8 @@ Date: Thu Dec 11 15:08:43 2008 -0800
216216
.Escaping the caret on Windows
217217
====
218218
219-
On Windows in `cmd.exe`, `^` is a special character and needs to be treated differently. You can either double it or put the commit reference in quotes:
219+
On Windows in `cmd.exe`, `^` is a special character and needs to be treated differently.
220+
You can either double it or put the commit reference in quotes:
220221
221222
[source,console]
222223
----

book/07-git-tools/sections/submodules.asc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,9 @@ CONFLICT (submodule): Merge conflict in DbConnector
682682
Automatic merge failed; fix conflicts and then commit the result.
683683
----
684684

685-
What it's suggesting that you do is to update the index like you had run `git add`, which clears the conflict, then commit. You probably shouldn't do this though. You can just as easily go into the submodule directory, see what the difference is, fast-forward to this commit, test it properly, and then commit it.
685+
The suggested command Git is providing will update the index as though you had run `git add` (which clears the conflict), then commit.
686+
You probably shouldn't do this though.
687+
You can just as easily go into the submodule directory, see what the difference is, fast-forward to this commit, test it properly, and then commit it.
686688

687689
[source,console]
688690
----

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

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ image::images/posh-git.png[PowerShell with Posh-git.]
1313

1414
==== Installation
1515
===== Prerequisites (Windows only)
16-
Before you're able to run PowerShell scripts on your machine, you need to set your local ExecutionPolicy to RemoteSigned (Basically anything except Undefined and Restricted). If you choose AllSigned instead of RemoteSigned, also local scripts (your own) need to be digitally signed in order to be executed. With RemoteSigned, only Scripts having the "ZoneIdentifier" set to Internet (were downloaded from the web) need to be signed, others not.
16+
Before you're able to run PowerShell scripts on your machine, you need to set your local ExecutionPolicy to RemoteSigned (Basically anything except Undefined and Restricted).
17+
If you choose AllSigned instead of RemoteSigned, also local scripts (your own) need to be digitally signed in order to be executed.
18+
With RemoteSigned, only Scripts having the "ZoneIdentifier" set to Internet (were downloaded from the web) need to be signed, others not.
1719
If you're an administrator and want to set it for all Users on that machine, use "-Scope LocalMachine".
1820
If you're a normal user, without administrative rights, you can use "-Scope CurrentUser" to set it only for you.
1921

@@ -47,8 +49,11 @@ Then you can go back and try again.
4749
This happens, because the modules that ship with Windows PowerShell are signed with a different publishment certificate.
4850

4951
===== Update PowerShell Prompt
50-
To include git information in your prompt, the posh-git module needs to be imported. To have posh-git imported every time PowerShell starts, execute the Add-PoshGitToProfile command which will add the import statement into you $profile script. This script is executed everytime you open a new PowerShell console.
51-
Keep in mind, that there are multiple $profile scripts. E. g. one for the console and a separate one for the ISE.
52+
To include git information in your prompt, the posh-git module needs to be imported.
53+
To have posh-git imported every time PowerShell starts, execute the Add-PoshGitToProfile command which will add the import statement into you $profile script.
54+
This script is executed everytime you open a new PowerShell console.
55+
Keep in mind, that there are multiple $profile scripts.
56+
E. g. one for the console and a separate one for the ISE.
5257
[source,powershell]
5358
-----
5459
> Import-Module posh-git

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
=== Git in Visual Studio Code
22

3-
Visual Studio Code has git support built in. You will need to have git version 2.0.0 (or newer) installed.
3+
Visual Studio Code has git support built in.
4+
You will need to have git version 2.0.0 (or newer) installed.
45

56
The main features are:
67

@@ -17,4 +18,4 @@ The main features are:
1718
* With a extension, you can also handle GitHub Pull Requests:
1819
https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-pull-request-github[]
1920
20-
The official documentation can be found here: https://code.visualstudio.com/Docs/editor/versioncontrol[]
21+
The official documentation can be found here: https://code.visualstudio.com/Docs/editor/versioncontrol[]

0 commit comments

Comments
 (0)