You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- After removing period mark from figure captions; some paragraph left
with no period because those paragraph has only one period and that's
because of figure caption (see
#1444 (comment)).
- End all bullet points with a period.
Copy file name to clipboardExpand all lines: book/04-git-server/sections/hosted.asc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,6 @@ Doing so offers a number of advantages: a hosting site is generally quick to set
5
5
Even if you set up and run your own server internally, you may still want to use a public hosting site for your open source code – it's generally easier for the open source community to find and help you with.
6
6
7
7
These days, you have a huge number of hosting options to choose from, each with different advantages and disadvantages.
8
-
To see an up-to-date list, check out the GitHosting page on the main Git wiki at https://git.wiki.kernel.org/index.php/GitHosting[]
8
+
To see an up-to-date list, check out the GitHosting page on the main Git wiki at https://git.wiki.kernel.org/index.php/GitHosting[].
9
9
10
10
We'll cover using GitHub in detail in <<ch06-github#ch06-github>>, as it is the largest Git host out there and you may need to interact with projects hosted on it in any case, but there are dozens more to choose from should you not want to set up your own Git server.
Copy file name to clipboardExpand all lines: book/06-github/sections/2-contributing.asc
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ It is centered on the <<ch03-git-branching#_topic_branch>> workflow covered in <
36
36
37
37
Here's how it generally works:
38
38
39
-
1. Fork the project
39
+
1. Fork the project.
40
40
2. Create a topic branch from `master`.
41
41
3. Make some commits to improve the project.
42
42
4. Push this branch to your GitHub project.
@@ -107,12 +107,12 @@ To https://github.com/tonychacon/blink
107
107
* [new branch] slow-blink -> slow-blink
108
108
----
109
109
110
-
<1> Clone our fork of the project locally
111
-
<2> Create a descriptive topic branch
112
-
<3> Make our change to the code
113
-
<4> Check that the change is good
114
-
<5> Commit our change to the topic branch
115
-
<6> Push our new topic branch back up to our GitHub fork
110
+
<1> Clone our fork of the project locally.
111
+
<2> Create a descriptive topic branch.
112
+
<3> Make our change to the code.
113
+
<4> Check that the change is good.
114
+
<5> Commit our change to the topic branch.
115
+
<6> Push our new topic branch back up to our GitHub fork.
116
116
117
117
Now if we go back to our fork on GitHub, we can see that GitHub noticed that we pushed a new topic branch up and presents us with a big green button to check out our changes and open a Pull Request to the original project.
118
118
@@ -270,11 +270,11 @@ To https://github.com/tonychacon/blink
270
270
ef4725c..3c8d735 slower-blink -> slow-blink
271
271
----
272
272
273
-
<1> Add the original repository as a remote named ``upstream''
274
-
<2> Fetch the newest work from that remote
275
-
<3> Merge the main branch of that repository into your topic branch
276
-
<4> Fix the conflict that occurred
277
-
<5> Push back up to the same topic branch
273
+
<1> Add the original repository as a remote named ``upstream''.
274
+
<2> Fetch the newest work from that remote.
275
+
<3> Merge the main branch of that repository into your topic branch.
276
+
<4> Fix the conflict that occurred.
277
+
<5> Push back up to the same topic branch.
278
278
279
279
Once you do that, the Pull Request will be automatically updated and re-checked to see if it merges cleanly.
280
280
@@ -359,7 +359,7 @@ You can create a task list like this:
359
359
- [ ] Document the code
360
360
----
361
361
362
-
If we include this in the description of our Pull Request or Issue, we'll see it rendered like <<_eg_task_lists>>
362
+
If we include this in the description of our Pull Request or Issue, we'll see it rendered like <<_eg_task_lists>>.
The other great feature of this is that you can redeliver any of the payloads to test your service easily.
109
109
110
-
For more information on how to write webhooks and all the different event types you can listen for, go to the GitHub Developer documentation at https://developer.github.com/webhooks/
110
+
For more information on how to write webhooks and all the different event types you can listen for, go to the GitHub Developer documentation at https://developer.github.com/webhooks/[].
Copy file name to clipboardExpand all lines: book/07-git-tools/sections/reset.asc
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -194,9 +194,9 @@ In this particular case, we still have the *v3* version of our file in a commit
194
194
195
195
The `reset` command overwrites these three trees in a specific order, stopping when you tell it to:
196
196
197
-
1. Move the branch HEAD points to _(stop here if `--soft`)_
198
-
2. Make the index look like HEAD _(stop here unless `--hard`)_
199
-
3. Make the working directory look like the index
197
+
1. Move the branch HEAD points to _(stop here if `--soft`)_.
198
+
2. Make the index look like HEAD _(stop here unless `--hard`)_.
199
+
3. Make the working directory look like the index.
200
200
201
201
==== Reset With a Path
202
202
@@ -208,8 +208,8 @@ But the index and working directory _can_ be partially updated, so reset proceed
208
208
So, assume we run `git reset file.txt`.
209
209
This form (since you did not specify a commit SHA-1 or branch, and you didn't specify `--soft` or `--hard`) is shorthand for `git reset --mixed HEAD file.txt`, which will:
210
210
211
-
1. Move the branch HEAD points to _(skipped)_
212
-
2. Make the index look like HEAD _(stop here)_
211
+
1. Move the branch HEAD points to _(skipped)_.
212
+
2. Make the index look like HEAD _(stop here)_.
213
213
214
214
So it essentially just copies `file.txt` from HEAD to the index.
Copy file name to clipboardExpand all lines: book/09-git-and-other-scms/sections/client-bzr.asc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,7 +93,7 @@ The two features are:
93
93
94
94
As a consequence, there are two different situations to consider:
95
95
96
-
1. If the `.bzrignore` file does not contain any of these two specific prefixes, then you can simply make a symbolic link to it in the repository: `ln -s .bzrignore .git/info/exclude`
96
+
1. If the `.bzrignore` file does not contain any of these two specific prefixes, then you can simply make a symbolic link to it in the repository: `ln -s .bzrignore .git/info/exclude`.
97
97
2. Otherwise, you must create the `.git/info/exclude` file and adapt it to ignore exactly the same files in `.bzrignore`.
98
98
99
99
Whatever the case is, you will have to remain vigilant against any change of `.bzrignore` to make sure that the `.git/info/exclude` file always reflects `.bzrignore`.
Copy file name to clipboardExpand all lines: book/A-git-in-other-environments/sections/powershell.asc
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,9 +21,9 @@ With `RemoteSigned`, only scripts having the `ZoneIdentifier` set to `Internet`
21
21
If you're an administrator and want to set it for all users on that machine, use `-Scope LocalMachine`.
22
22
If you're a normal user, without administrative rights, you can use `-Scope CurrentUser` to set it only for you.
23
23
24
-
More about PowerShell Scopes: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_scopes[]
24
+
More about PowerShell Scopes: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_scopes[].
25
25
26
-
More about PowerShell ExecutionPolicy: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy[]
26
+
More about PowerShell ExecutionPolicy: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy[].
27
27
28
28
To set the value of `ExecutionPolicy` to `RemoteSigned` for all users use the next command:
29
29
@@ -36,7 +36,7 @@ To set the value of `ExecutionPolicy` to `RemoteSigned` for all users use the ne
36
36
37
37
If you have at least PowerShell 5 or PowerShell 4 with PackageManagement installed, you can use the package manager to install posh-git for you.
38
38
39
-
More information about PowerShell Gallery: https://docs.microsoft.com/en-us/powershell/scripting/gallery/overview[]
39
+
More information about PowerShell Gallery: https://docs.microsoft.com/en-us/powershell/scripting/gallery/overview[].
40
40
41
41
[source,powershell]
42
42
----
@@ -83,4 +83,4 @@ Then import the module using the full path to the `posh-git.psd1` file:
83
83
This will add the proper line to your `profile.ps1` file, and posh-git will be active the next time you open PowerShell.
84
84
85
85
For a description of the Git status summary information displayed in the prompt see: https://github.com/dahlbyk/posh-git/blob/master/README.md#git-status-summary-information[]
86
-
For more details on how to customize your posh-git prompt see: https://github.com/dahlbyk/posh-git/blob/master/README.md#customization-variables[]
86
+
For more details on how to customize your posh-git prompt see: https://github.com/dahlbyk/posh-git/blob/master/README.md#customization-variables[].
0 commit comments