Skip to content

Commit 91ff0c5

Browse files
committed
Merge pull request #197 from andypearson/command-line-version-control-fixes
Command line version control fixes
2 parents 9a24570 + bc20713 commit 91ff0c5

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

version-control/command-line/tutorial.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ $ git diff
196196
The -/+ indications you can see mean
197197

198198
**-** indicates lines removed from the code.
199-
199+
200200
**+** indicates lines added to the code.
201201

202202
```bash
@@ -220,6 +220,7 @@ index 21f15d1..c2031f1 100644
220220
### After you verify your change, commit and push them
221221

222222
```bash
223+
$ git add .
223224
$ git commit -m 'Added git status description'
224225
$ git push origin master
225226
```
@@ -229,7 +230,7 @@ $ git push origin master
229230
Edit the index.html file and then check the changes.
230231

231232
```bash
232-
$ echo "oh no!" > index.html
233+
$ echo 'oh no!' > index.html
233234
```
234235

235236
> Have a look at changes to the file using `git diff`

0 commit comments

Comments
 (0)