Skip to content

Commit 294bfed

Browse files
committed
🎶 Heal the words
1 parent f62bf2e commit 294bfed

File tree

16 files changed

+27
-27
lines changed

16 files changed

+27
-27
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ There are a lot of different ways to use Git.
44
There are the original command line tools, and there are many graphical user interfaces of varying capabilities.
55
For this book, we will be using Git on the command line.
66
For one, the command line is the only place you can run *all* Git commands – most of the GUIs only implement some subset of Git functionality for simplicity.
7-
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 neccesarily true.
7+
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

1010
So we will expect you to know how to open Terminal in Mac or Command Prompt or Powershell in Windows.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ If you didn't want it to be called `serverfix` on the remote, you could instead
8585
====
8686
If you're using an HTTPS URL to push over, the Git server will ask you for your username and password for authentication. By default it will prompt you on the terminal for this information so the server can tell if you're allowed to push.
8787
88-
If you don't want to type it every sinlge time you push, you can set up a ``credential cache''. The simplest is just to keep it in memory for a few mintues, which you can easily set up by running `git config --global credential.helper cache`.
88+
If you don't want to type it every single time you push, you can set up a ``credential cache''. The simplest is just to keep it in memory for a few mintues, which you can easily set up by running `git config --global credential.helper cache`.
8989
9090
For more information on the various credential caching options available, see <<_credential_caching>>.
9191
====

book/04-git-server/sections/gitlab.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
GitWeb is pretty simplistic though.
55
If you're looking for a more modern, fully featured Git server, there are some several open source solutions out there that you can install instead.
66
As GitLab is one of the more popular ones, we'll cover installing and using it as an example.
7-
This is a bit more complex than the GitWeb option and likely requires more maintainance, but it is a much more fully featured option.
7+
This is a bit more complex than the GitWeb option and likely requires more maintenance, but it is a much more fully featured option.
88

99
==== Installation
1010

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ image::images/blink-04-email.png[Email notification]
146146
Anyone can also leave general comments on the Pull Request. In <<_pr_discussion>> we can see an example of the project owner both commenting on a line of code and then leaving a general comment in the discussion section. You can see that the code comments are brought into the conversation as well.
147147

148148
[[_pr_discussion]]
149-
.Pull Request discusson page
149+
.Pull Request discussion page
150150
image::images/blink-05-general-comment.png[PR discussion page]
151151

152152
Now the contributor can see what they need to do in order to get their change accepted. Luckily this is also a very simple thing to do. Where over email you may have to re-roll your series and resubmit it to the mailing list, with GitHub you simply commit to the topic branch again and push.
@@ -168,7 +168,7 @@ This is the basic workflow that most GitHub projects use. Topic branches are cre
168168
[NOTE]
169169
.Not Only Forks
170170
====
171-
It's important to note that you can also open a Pull Request between two branches in the same repository. If you're working on a feature with someone and you both have write access to the project, you can push a topic branch to the repository and open a Pull Request on it to the `master` branch of that same project to initiate the code review and discussion process. No forking neccesary.
171+
It's important to note that you can also open a Pull Request between two branches in the same repository. If you're working on a feature with someone and you both have write access to the project, you can push a topic branch to the repository and open a Pull Request on it to the `master` branch of that same project to initiate the code review and discussion process. No forking necessary.
172172
====
173173

174174
==== Advanced Pull Requests
@@ -237,7 +237,7 @@ To https://github.com/tonychacon/blink
237237
<1> Add the original repository as a remote named ``upstream''
238238
<2> Fetch the newest work from that remote
239239
<3> Merge the main branch into your topic branch
240-
<4> Fix the conflict that occured
240+
<4> Fix the conflict that occurred
241241
<5> Push back up to the same topic branch
242242

243243
Once you do that, the Pull Request will be automatically updated and re-checked to see if it merges cleanly.
@@ -395,7 +395,7 @@ Not that this is incredibly useful, but it does add an element of fun and emotio
395395

396396
[NOTE]
397397
====
398-
There are actually quite a number of web services that make use of emoji charaters these days. A great cheat sheet to reference to find emoji that expresses what you want to say can be found at:
398+
There are actually quite a number of web services that make use of emoji characters these days. A great cheat sheet to reference to find emoji that expresses what you want to say can be found at:
399399
400400
http://www.emoji-cheat-sheet.com
401401
====

book/06-github/sections/3-maintaining.asc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -233,19 +233,19 @@ When we mention ``notifications'' here with respect to GitHub, we mean a specifi
233233
If you go to the ``Notification center'' tab from the settings page, you can see some of the options you have.
234234

235235
.Notification center options.
236-
image::images/maint-07-notifications.png[Notifiation center]
236+
image::images/maint-07-notifications.png[Notification center]
237237

238-
The two choices are to get notifications over ``Email'' and over ``Web'' and you can choose either, niether or both for when you actively participate in things and for activity on repositories you are watching.
238+
The two choices are to get notifications over ``Email'' and over ``Web'' and you can choose either, neither or both for when you actively participate in things and for activity on repositories you are watching.
239239

240240
====== Web Notifications
241241

242242
Web notifications only exist on GitHub and you can only check them on GitHub. If you have this option selected in your preferences and a notification is triggered for you, you will see a small blue dot over your notifications icon at the top of your screen as seen in <<_not_center>>.
243243

244244
[[_not_center]]
245245
.Notification center.
246-
image::images/maint-08-notifications-page.png[Notifiation center]
246+
image::images/maint-08-notifications-page.png[Notification center]
247247

248-
If you click on that, you will see a list of all the items you have been notified about, grouped by project. You can filter to the notifications of a specific project by clicking on it's name in the left hand sidebar. You can also acknowledge the notifiction by clicking the checkmark icon next to any notification, or acknowledge _all_ of the notifictions in a project by clicking the checkmark at the top of the group. There is also a mute button next to each checkmark that you can click to not receive any further notifications on that item.
248+
If you click on that, you will see a list of all the items you have been notified about, grouped by project. You can filter to the notifications of a specific project by clicking on it's name in the left hand sidebar. You can also acknowledge the notification by clicking the checkmark icon next to any notification, or acknowledge _all_ of the notifictions in a project by clicking the checkmark at the top of the group. There is also a mute button next to each checkmark that you can click to not receive any further notifications on that item.
249249

250250
All of these tools are very useful for handling large numbers of notifications. Many GitHub power users will simply turn off email notifications entirely and manage all of their notifications through this screen.
251251

book/07-git-tools/sections/advanced-merging.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[[_advanced_merging]]
22
=== Advanced Merging
33

4-
Merging in Git is typically fairly easy. Since Git makes it easy to merge another branch multiple times, it means that you can have a very long lived branch but you can keep it up to date as you go, solving small conflicts often, rather than be suprised by one enormous conflict at the end of the series.
4+
Merging in Git is typically fairly easy. Since Git makes it easy to merge another branch multiple times, it means that you can have a very long lived branch but you can keep it up to date as you go, solving small conflicts often, rather than be surprised by one enormous conflict at the end of the series.
55

66
However, sometimes tricky conflicts do occur. Unlike some other version control systems, Git does not try to be overly clever about merge conflict resolution. Git's philosophy is to be smart about determining when a merge resolution is unambiguous, but if there is a conflict, it does not try to be clever about automatically resolving it. Therefore, if you wait too long to merge two branches that diverge quickly, you can run into some issues.
77

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Total 9 (delta 0), reused 0 (delta 0)
9393

9494
Now we have a `commits.bundle` file in our directory. If we take that and send it to our partner, she can then import it into the original repository, even if more work has been done there in the meantime.
9595

96-
When she gets the bundle, she can inspect it to see what it contains before she imports it into her repository. The first command is the `bundle verify` command that will make sure the file is actually a valid Git bundle and that you have all the neccesary ancestors to reconstitute it properly.
96+
When she gets the bundle, she can inspect it to see what it contains before she imports it into her repository. The first command is the `bundle verify` command that will make sure the file is actually a valid Git bundle and that you have all the necessary ancestors to reconstitute it properly.
9797

9898
[source,console]
9999
----

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,4 +184,4 @@ e146b5f14e79d4935160c0e83fb9ebe526b8da0d commit refs/remotes/origin/master
184184
c6e1e95051d41771a649f3145423f8809d1a74d4 commit refs/replace/81a708dd0e167a3f691541c7a6463343bc457040
185185
----
186186

187-
This means that it's easy to share our replacement with others, because we can push this to our server and other people can easily download it. This is not that helpful in the history grafting scenario we've gone over here (since everyone would be downloading both histories anyhow, so why seperate them?) but it can be useful in other circumstances.
187+
This means that it's easy to share our replacement with others, because we can push this to our server and other people can easily download it. This is not that helpful in the history grafting scenario we've gone over here (since everyone would be downloading both histories anyhow, so why separate them?) but it can be useful in other circumstances.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ Fast-forward
178178
1 file changed, 2 insertions(+)
179179
----
180180

181-
You can also use the `-S` option with the `git merge` command itself to sign the resulting merge commit itself. The following example both verifies that every commit in the branch to be merged is signed and futhermore signs the resulting merge commit.
181+
You can also use the `-S` option with the `git merge` command itself to sign the resulting merge commit itself. The following example both verifies that every commit in the branch to be merged is signed and furthermore signs the resulting merge commit.
182182

183183
[source,console]
184184
----

book/07-git-tools/sections/stashing-cleaning.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ Finally, you may not want to stash some work or files in your working directory,
212212

213213
Some common reasons for this might be to remove cruft that has been generated by merges or external tools or to remove build artifacts in order to run a clean build.
214214

215-
You'll want to be pretty careful with this command, since it's designed to remove files from your working directory that are not tracked. If you change your mind, there is often no retreiving the content of those files. A safer option is to run `git stash --all` to remove everything but save it in a stash.
215+
You'll want to be pretty careful with this command, since it's designed to remove files from your working directory that are not tracked. If you change your mind, there is often no retrieving the content of those files. A safer option is to run `git stash --all` to remove everything but save it in a stash.
216216

217217
Assuming you do want to remove cruft files or clean your working directory, you can do so with `git clean`. To remove all the untracked files in your working directory, you can run `git clean -f -d`, which removes any files and also any subdirectories that become empty as a result. The `-f` means 'force' or "really do this".
218218

0 commit comments

Comments
 (0)