From 397c0ecd839e2dbe0bacf87a6f0eb07d95fc8acf Mon Sep 17 00:00:00 2001 From: "Robert P. J. Day" Date: Fri, 20 Oct 2017 13:33:53 -0400 Subject: [PATCH] Standardize "em" dashes in "Tagging" section to use " -- " --- book/02-git-basics/sections/tagging.asc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/book/02-git-basics/sections/tagging.asc b/book/02-git-basics/sections/tagging.asc index 93b089f90..07d68a487 100644 --- a/book/02-git-basics/sections/tagging.asc +++ b/book/02-git-basics/sections/tagging.asc @@ -51,7 +51,7 @@ If, however, you're supplying a wildcard pattern to match tag names, the use of Git supports two types of tags: _lightweight_ and _annotated_. -A lightweight tag is very much like a branch that doesn't change – it's just a pointer to a specific commit. +A lightweight tag is very much like a branch that doesn't change -- it's just a pointer to a specific commit. Annotated tags, however, are stored as full objects in the Git database. 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 (((tags, lightweight))) Another way to tag commits is with a lightweight tag. -This is basically the commit checksum stored in a file – no other information is kept. +This is basically the commit checksum stored in a file -- no other information is kept. To create a lightweight tag, don't supply any of the `-a`, `-s`, or `-m` options, just provide a tag name: [source,console] @@ -187,7 +187,7 @@ Date: Sun Apr 27 20:43:35 2008 -0700 By default, the `git push` command doesn't transfer tags to remote servers.(((git commands, push))) You will have to explicitly push tags to a shared server after you have created them. -This process is just like sharing remote branches – you can run `git push origin `. +This process is just like sharing remote branches -- you can run `git push origin `. [source,console] ---- @@ -242,7 +242,7 @@ Previous HEAD position was 99ada87... Merge pull request #89 from schacon/append HEAD is now at df3f601... add atlas.json and cover image ---- -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: +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: [source,console] ----