Skip to content
This repository has been archived by the owner on Jan 3, 2018. It is now read-only.

Commit

Permalink
Adding more edits by @wking
Browse files Browse the repository at this point in the history
  • Loading branch information
gvwilson committed Dec 3, 2013
1 parent 105dbae commit f6e9ac0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion git/novice/01-backup.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ $ cd planets
and tell Git to make it a [repository](../gloss.html#repository):

```
$ git init .
$ git init
```

If we use `ls` to show the directory's contents,
Expand Down
8 changes: 4 additions & 4 deletions git/novice/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ Set global configuration (only needs to be done once per machine):
git config --global color.ui "auto"
git config --global core.editor "your_editor"

Initialize a directory as a repository:
Initialize the current working directory as a repository:

git init .
git init

Display the status of the repository:

Expand All @@ -23,9 +23,9 @@ Add specific files to the staging area:

git add filename_1 filename_2

Add all modified files to the staging area:
Add all modified files in the current directory and its sub-directories to the staging area:

git add -A
git add -A .

Commit changes in the staging area to the repository's history:
(Without `-m` and a message, this command runs a text editor.)
Expand Down
4 changes: 2 additions & 2 deletions lessons/swc-git/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ $ cd planets
and tell Git to initialize it:

```
$ git init .
$ git init
```

If we use `ls` to show the directory's contents,
Expand Down Expand Up @@ -707,7 +707,7 @@ Let's add and commit those changes
(the `-A` flag to `git add` means "add everything"):

```
$ git add -A
$ git add -A .
$ git status
# On branch moons
# Changes to be committed:
Expand Down

0 comments on commit f6e9ac0

Please sign in to comment.