Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The basics

Image RemovedImage Added

You can think of there being two copies of the repository, one local (on your computer) and the other remote (in the cloud). The local environment has three pieces, your working directory, a staging area and your local repository. You won't see anything except your working directory, which might include files being tracked in the repository as well as other files that you haven't brought into the repository. You can ask git to tell you what files that you have committed to the repository have changed and what files in the directory aren't part of the repository. 

...