Skip to content

Commit d73ca0b

Browse files
committed
Merge pull request #408 from Lazar95/bold-italic-fix
Bold and italic follow Asciidoc semantics
2 parents 9cc92d6 + 093b1ac commit d73ca0b

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,6 @@ Don't ever use this command unless you absolutely know that you don't want the f
128128

129129
If you would like to keep the changes you've made to that file but still need to get it out of the way for now, we'll go over stashing and branching in <<_git_branching>>; these are generally better ways to go.
130130

131-
Remember, anything that is __committed__ in Git can almost always be recovered.
131+
Remember, anything that is _committed_ in Git can almost always be recovered.
132132
Even commits that were on branches that were deleted or commits that were overwritten with an `--amend` commit can be recovered (see <<_data_recovery>> for data recovery).
133133
However, anything you lose that was never committed is likely never to be seen again.

book/03-git-branching/sections/rebasing.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ image::images/interesting-rebase-5.png[Final commit history.]
137137
(((rebasing, perils of)))
138138
Ahh, but the bliss of rebasing isn't without its drawbacks, which can be summed up in a single line:
139139

140-
**Do not rebase commits that exist outside your repository.**
140+
*Do not rebase commits that exist outside your repository.*
141141

142142
If you follow that guideline, you'll be fine.
143143
If you don't, people will hate you, and you'll be scorned by friends and family.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ By default, Git sees all of these lines as being changed, so it can't merge the
139139

140140
The default merge strategy can take arguments though, and a few of them are about properly ignoring whitespace changes.
141141
If you see that you have a lot of whitespace issues in a merge, you can simply abort it and do it again, this time with `-Xignore-all-space` or `-Xignore-space-change`.
142-
The first option ignores whitespace **completely** when comparing lines, the second treats sequences of one or more whitespace characters as equivalent.
142+
The first option ignores whitespace *completely* when comparing lines, the second treats sequences of one or more whitespace characters as equivalent.
143143

144144
[source,console]
145145
----
@@ -432,7 +432,7 @@ $ git log --oneline --left-right --merge
432432
----
433433

434434
If you run that with the `-p` option instead, you get just the diffs to the file that ended up in conflict.
435-
This can be **really** helpful in quickly giving you the context you need to help understand why something conflicts and how to more intelligently resolve it.
435+
This can be *really* helpful in quickly giving you the context you need to help understand why something conflicts and how to more intelligently resolve it.
436436

437437
===== Combined Diff Format
438438

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ $ echo 'get history from blah blah blah' | git commit-tree 9c68fdc^{tree}
9292
[NOTE]
9393
=====
9494
The `commit-tree` command is one of a set of commands that are commonly referred to as 'plumbing' commands.
95-
These are commands that are not generally meant to be used directly, but instead are used by **other** Git commands to do smaller jobs.
95+
These are commands that are not generally meant to be used directly, but instead are used by *other* Git commands to do smaller jobs.
9696
On occasions when we're doing weirder things like this, they allow us to do really low-level things but are not meant for daily use.
9797
You can read more about plumbing commands in <<_plumbing_porcelain>>
9898
=====

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ If you use the `--hard` option, it will continue to this stage.
185185
image::images/reset-hard.png[]
186186

187187
So let's think about what just happened.
188-
You undid your last commit, the `git add` and `git commit` commands, **and** all the work you did in your working directory.
188+
You undid your last commit, the `git add` and `git commit` commands, *and* all the work you did in your working directory.
189189

190190
It's important to note that this flag (`--hard`) is the only way to make the `reset` command dangerous, and one of the very few cases where Git will actually destroy data.
191191
Any other invocation of `reset` can be pretty easily undone, but the `--hard` option cannot, since it forcibly overwrites files in the Working Directory.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ As we saw in the above example, we looked for terms in an older version of the G
9292

9393
==== Git Log Searching
9494

95-
Perhaps you're looking not for **where** a term exists, but **when** it existed or was introduced.
95+
Perhaps you're looking not for *where* a term exists, but *when* it existed or was introduced.
9696
The `git log` command has a number of powerful tools for finding specific commits by the content of their messages or even the content of the diff they introduce.
9797

9898
If we want to find out for example when the `ZLIB_BUF_MAX` constant was originally introduced, we can tell Git to only show us the commits that either added or removed that string with the `-S` option.

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ Submodule DbConnector c3f01dc..c87d55d:
363363
> better connection routine
364364
----
365365

366-
Git will by default try to update **all** of your submodules when you run `git submodule update --remote` so if you have a lot of them, you may want to pass the name of just the submodule you want to try to update.
366+
Git will by default try to update *all* of your submodules when you run `git submodule update --remote` so if you have a lot of them, you may want to pass the name of just the submodule you want to try to update.
367367

368368
===== Working on a Submodule
369369

@@ -647,11 +647,11 @@ $ git commit -m "Merge Tom's Changes" <5>
647647
It can be a bit confusing, but it's really not very hard.
648648

649649
Interestingly, there is another case that Git handles.
650-
If a merge commit exists in the submodule directory that contains **both** commits in its history, Git will suggest it to you as a possible solution.
650+
If a merge commit exists in the submodule directory that contains *both* commits in its history, Git will suggest it to you as a possible solution.
651651
It sees that at some point in the submodule project, someone merged branches containing these two commits, so maybe you'll want that one.
652652

653653
This is why the error message from before was ``merge following commits not found'', because it could not do *this*.
654-
It's confusing because who would expect it to **try** to do this?
654+
It's confusing because who would expect it to *try* to do this?
655655

656656
If it does find a single acceptable merge commit, you'll see something like this:
657657

0 commit comments

Comments
 (0)