GIT
Basics of git
a stream of snapshots
Git thinks of its data more like a series of snapshots of a miniature filesystem.
nearly every operations is local
We have the entire history of the project right there on our local disk, most operations seem almost instantaneous
three states
- committed means that the data is safely stored in your local database.
- modified means that you have changed the file but have not committed it to your database yet
- staged means that you have marked a modified file in its current version to go into your next commit snapshot
three main sections of a Git project
- working directory
- staging area
- .git directory(repository)