Lesson 1 Flashcards
1
Q
Git
A
Version control system for web developers
Helps keep track of changes made to a project
2
Q
git init
A
Creates new Git repository
3
Q
git status
A
Inspects contents of the working directory and staging area
4
Q
git add filename.txt
A
Adds files from the working directory to the staging area
5
Q
git diff filename.txt
A
Shows the difference between the working directory and the staging area
6
Q
git commit
A
Permanently stores file changes from the staging area in the repository
git commit -m “Brief message that describes changes so far”
7
Q
git log
A
Shows list of all previous commits