From 65ac61ac37928bf3b13451b335339a56e97f8391 Mon Sep 17 00:00:00 2001 From: "Robert P. J. Day" Date: Thu, 19 Oct 2017 06:54:33 -0400 Subject: [PATCH] Replace all escape codes for "em" dash with " -- " --- book/02-git-basics/sections/getting-a-repository.asc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/book/02-git-basics/sections/getting-a-repository.asc b/book/02-git-basics/sections/getting-a-repository.asc index 415386b2e..0d845b422 100644 --- a/book/02-git-basics/sections/getting-a-repository.asc +++ b/book/02-git-basics/sections/getting-a-repository.asc @@ -36,7 +36,7 @@ and type: $ git init ---- -This creates a new subdirectory named `.git` that contains all of your necessary repository files – a Git repository skeleton. +This creates a new subdirectory named `.git` that contains all of your necessary repository files -- a Git repository skeleton. At this point, nothing in your project is tracked yet. (See <<_git_internals>> for more information about exactly what files are contained in the `.git` directory you just created.)(((git commands, init))) @@ -56,11 +56,11 @@ At this point, you have a Git repository with tracked files and an initial commi [[_git_cloning]] ==== Cloning an Existing Repository -If you want to get a copy of an existing Git repository – for example, a project you'd like to contribute to – the command you need is `git clone`. +If you want to get a copy of an existing Git repository -- for example, a project you'd like to contribute to -- the command you need is `git clone`. If you're familiar with other VCS systems such as Subversion, you'll notice that the command is "clone" and not "checkout". -This is an important distinction – instead of getting just a working copy, Git receives a full copy of nearly all data that the server has. +This is an important distinction -- instead of getting just a working copy, Git receives a full copy of nearly all data that the server has. Every version of every file for the history of the project is pulled down by default when you run `git clone`. -In fact, if your server disk gets corrupted, you can often use nearly any of the clones on any client to set the server back to the state it was in when it was cloned (you may lose some server-side hooks and such, but all the versioned data would be there – see <<_git_on_the_server>> for more details). +In fact, if your server disk gets corrupted, you can often use nearly any of the clones on any client to set the server back to the state it was in when it was cloned (you may lose some server-side hooks and such, but all the versioned data would be there -- see <<_git_on_the_server>> for more details). You clone a repository with `git clone `.(((git commands, clone))) For example, if you want to clone the Git linkable library called `libgit2`, you can do so like this: