Skip to content

Instantly share code, notes, and snippets.

@dpatlut
Created November 10, 2020 05:28
Show Gist options
  • Save dpatlut/1b756f6a2582c3805ffabd488f76a5c3 to your computer and use it in GitHub Desktop.
Save dpatlut/1b756f6a2582c3805ffabd488f76a5c3 to your computer and use it in GitHub Desktop.
Git Exit Ticket Solution

Day 01: Git and pairing

You should be able to:

  • Manage a project using git
  • Practice effective pair programming

Which git command adds files to the staging area?

  • 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
merge ☑️ ☑️ git merge lets us join two or more development histories together; we can also do a merge on GitHub that lets us achieve the same thing (e.g. merging pull requests)
pull request ☑️ Pull requests lets us tell other developers who are working with us about changes we've pushed to a branch on GitHub; we then issue a request on GitHub to bring those changes into the project codebase
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
branch ☑️ ☑️ You can create and delete branches locally or on GitHub
issue ☑️ A feature of GitHub that lets us keep track of tasks, bugs, creating features, etc. in a specific repository

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