Skip to content

Instantly share code, notes, and snippets.

@nrl240
Last active March 3, 2021 16:21
Show Gist options
  • Save nrl240/d7ca4f91dfb2f634d8d9445e92274c44 to your computer and use it in GitHub Desktop.
Save nrl240/d7ca4f91dfb2f634d8d9445e92274c44 to your computer and use it in GitHub Desktop.
Exit Ticket: Day 1 - Pairing and Git

Exit Ticket: Day 1 - Pairing and Git

You should be able to:

  • Practice effective pair programming
  • Manage a project using git

Which git command adds files to the staging area?

Option Explanation
status Displays the current state of the working directory and staging area.
☑️ add Adds a change in the working directory to the staging area.
commit Records and documents the changes to the repository.
push Uploads local repository content to a remote repository.

For each concept, select which categories it fits into – git or GitHub:

Git GitHub Explanation
clone ☑️ clone is a command in Git that lets us copy the contents of a remote repository (on GitHub) to our local machine; GitHub will give us a link to help us clone it, but it's not something we do on GitHub.
repository ☑️ ☑️ GitHub lets us have a remote repository; we can initialize a new local repository using Git: git init.
fork ☑️ Forking makes a copy of a repository to our own GitHub profile so that we can make changes to it without affecting the original project.
commit ☑️ ☑️ commit is a command in Git that saves a snapshot of our repository. You could mark Github on this one too since repositories are stored on Github therefore commits are also stored there.

For each choice pick whether it describes the driver or the navigator in pair programming:

Driver Navigator
Spots syntax issues ☑️
Reads the docs ☑️
Writes code ☑️
Sees the big picture ☑️
Works out the details ☑️
Speaks at a high level ☑️
Asks clarifying questions ☑️
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment