2. Introduction to VCS
What is version control, and why should care ? Version Control is a
system that record changes to a file or set of files over time so that you
can recall a specific versions later. For the example in this class you
will use software source code as the files being version controlled,
through in reality you can do this with nearly any type of file on a
computer.
It allows you to revert files back to a previous state, revert the entire
project back to a previous state, compare changes over time, see who
last modified something that might be causing a problem, who
introduced an issue and when, and more.
12. 3 File Status on Git
untracked unmodified modified staged
edit the file
add the file
stage the file
remove the file
commit the file
13. 3 Stages of Git
The Basic Git working
directory
staging
area
git directory
(repository)
workflow
checkout the project
1. You modify files in
your working directory.
2. You stage the files.
3. You do a commit, stage files
files on your staging
area are permanently
commit files
stores in Repository.