Skip to content

Commit deaa446

Browse files
authored
Merge pull request #877 from rpjday/tagging
Standardize "em" dashes in "Tagging" section to use " -- "
2 parents 1bf5bfb + 397c0ec commit deaa446

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ If, however, you're supplying a wildcard pattern to match tag names, the use of
5151

5252
Git supports two types of tags: _lightweight_ and _annotated_.
5353

54-
A lightweight tag is very much like a branch that doesn't change it's just a pointer to a specific commit.
54+
A lightweight tag is very much like a branch that doesn't change -- it's just a pointer to a specific commit.
5555

5656
Annotated tags, however, are stored as full objects in the Git database.
5757
They're checksummed; contain the tagger name, email, and date; have a tagging message; and can be signed and verified with GNU Privacy Guard (GPG).
@@ -100,7 +100,7 @@ That shows the tagger information, the date the commit was tagged, and the annot
100100

101101
(((tags, lightweight)))
102102
Another way to tag commits is with a lightweight tag.
103-
This is basically the commit checksum stored in a file no other information is kept.
103+
This is basically the commit checksum stored in a file -- no other information is kept.
104104
To create a lightweight tag, don't supply any of the `-a`, `-s`, or `-m` options, just provide a tag name:
105105

106106
[source,console]
@@ -187,7 +187,7 @@ Date: Sun Apr 27 20:43:35 2008 -0700
187187

188188
By default, the `git push` command doesn't transfer tags to remote servers.(((git commands, push)))
189189
You will have to explicitly push tags to a shared server after you have created them.
190-
This process is just like sharing remote branches you can run `git push origin <tagname>`.
190+
This process is just like sharing remote branches -- you can run `git push origin <tagname>`.
191191

192192
[source,console]
193193
----
@@ -242,7 +242,7 @@ Previous HEAD position was 99ada87... Merge pull request #89 from schacon/append
242242
HEAD is now at df3f601... add atlas.json and cover image
243243
----
244244

245-
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 for by the exact commit hash. Thus, if you need to make changessay you're fixing a bug on an older version, for instanceyou will generally want to create a branch:
245+
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 for 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:
246246

247247
[source,console]
248248
----

0 commit comments

Comments
 (0)