From 3f5de7128f9fd8c5d45d42bc24fc0f993f7da0e1 Mon Sep 17 00:00:00 2001 From: Ben Lynn Date: Tue, 20 May 2008 00:40:09 -0700 Subject: [PATCH] Intro edits. --- basic.txt | 6 +++--- clone.txt | 4 ++-- grandmaster.txt | 6 +++--- intro.txt | 14 +++++++++----- 4 files changed, 17 insertions(+), 13 deletions(-) diff --git a/basic.txt b/basic.txt index 4d310f1..ca39b9d 100644 --- a/basic.txt +++ b/basic.txt @@ -6,12 +6,12 @@ Rather than diving into a sea of Git commands, use these elementary examples to When I'm about to attempt something drastic I like to save the current state, so I can go back and try again should things go awry. +Take a snapshot of all files in the current directory with: + $ git init $ git add . $ git commit -m "My first backup" -to take a snapshot of all files in the current directory. - The above sequence of commands should be memorized, or placed in a script, as they will be reused frequently. Then if something goes wrong, run: @@ -62,7 +62,7 @@ This alternate reality is called a ''branch'', and <