Skip to content

Commit

Permalink
Fixed output of status to show origin behind with 3 commits
Browse files Browse the repository at this point in the history
  • Loading branch information
anelda authored Nov 30, 2017
1 parent ded2e96 commit efb7111
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion _episodes/04-changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -362,14 +362,21 @@ To allow for this, Git has a special *staging area* where it keeps

Let's watch as our changes to a file move from our editor
to the staging area and into long-term storage.
First, we'll add another line to the file:
First, we'll add another line to the file. Remember to save and exit the file in Nano by typing `CTRL + O` followed by `enter` and then `CTRL + X`.

~~~
$ nano ToDo.txt
~~~
{: .bash}

![Add extra lines to the existing file ToDo.txt](../fig/git-add-more-lines.png)

~~~
$ cat ToDo.txt
~~~
{: .bash}


~~~
Conversion functions needed:
Expand Down Expand Up @@ -458,7 +465,10 @@ $ git status

~~~
On branch master
Your branch is ahead of 'origin/master' by 3 commits.
(use "git push" to publish your local commits)
nothing to commit, working directory clean
~~~
{: .output}

Expand Down

0 comments on commit efb7111

Please sign in to comment.