Github Flashcards
1
Q
Version Control
A
A system that records changes to a file or set of files over time so that you can recall specific version later
2
Q
Git’s birth
A
2005
3
Q
Git directory
A
Where git stores the metadata and object database for your project
4
Q
The working tree
A
A single checkout of one version of the project
5
Q
Git workflow
A
- You modify files in your working tree
- You stage the files, adding snapshots of them to your staging area
- You do a commit, which takes the files as they are in the staging area and stores that snapshot permanently to your Git directory
6
Q
Two states of two directories
A
Tracked or untracked
7
Q
Untracked
A
- Files that were in the last snapshot
8
Q
Tracking new files
A
$ git status On branch master Your branch is up-to-date with 'origin/master'. Changes to be committed: (use "git reset HEAD ..." to unstage)
new file: README