Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 856 Bytes

File metadata and controls

36 lines (26 loc) · 856 Bytes

Practice Quiz: Using Git

  1. Before changes in new files can be added to the Git directory, what command will tell Git to track our file in the list of changes to be committed?

    [ ] git status
    [x] git add
    [ ] git commit
    [ ] git init

  2. Which command would we use to review the commit history for our project?

    [ ] git clone
    [ ] git status
    [ ] git config -l
    [x] git log

  3. What command would we use to make Git track our file?

    [ ] git clone
    [ ] git status
    [x] git add
    [ ] git log

  4. Which command would we use to look at our config?

    [ ] git clone
    [ ] git status
    [x] git config -l
    [ ] git log

  5. Which command would we use to view pending changes?

    [ ] git clone
    [x] git status
    [ ] git config -l
    [ ] git log