Giter Site home page Giter Site logo

git-github-learn-quiz-nyc-web-080519's Introduction

Enough Git for Learn

Overview

Take the quiz below to make sure you're familiar with the crucial git commands and workflows to interact with GitHub and Learn.

???

Quiz - Enough Git for Learn

?: What's the git command that downloads your repository from GitHub to your computer?

( )git push ( )git fork (X)git clone ( )git commit

?: How do you create a copy of a lab under your own GitHub account so that you can solve the lab?

(X) Forking it via the GitHub interface. ( )git fork ( )git clone ( )git pull-request

?: What's the opposite of git clone, instead of downloading your code from GitHub, uploads your changes and code back to GitHub?

(X) git push ( ) git add ( ) git upload ( ) git status

?: How do you check the state of your local git repository since your last commit?

( )git check (X)git status ( )git commit ( )git diff

?: How do you stage files for a commit?

( )git stage ( )git commit (X)git add ( )git reset

?: How do you save the current state of your code into the git version control?

(X)By committing the staged changes with git commit ( )By adding all changes and staging them with git stage ( )By adding all changes and staging them with git add ( )By creating a new commit with git init

?: What's a shortcut to staging all the changes you have?

( )git commit add . ( )git commit . (X)git add . ( )git push -am "Message"

?: How do you supply a commit message to a commit?

( )git message "I'm coding" ( )git add "I'm coding" ( )git commit "I'm coding" (X)git commit -m "I'm coding"

?: What is the correct commit syntax for all changes with a message?

( )git message -am "I'm coding" ( )git add -a "I'm coding" ( )git commit -a "I'm coding" (X)git commit -am "I'm coding"

?: How do you submit a solution to Learn? (select all that apply)

[ ] git submit [ ] git pull-request [X] By creating a Pull Request through the GitHub interface [X] learn submit [ ] git commit -am "Done with Lab"

?: What comes first, staging with git add . or committing with git commit?

(X)Staging your commits with git add ( )Committing with git commit

???

View Git Quiz on Learn.co and start learning to code for free.

git-github-learn-quiz-nyc-web-080519's People

Contributors

aviflombaum avatar annjohn avatar gj avatar loganhasson avatar matbalez avatar sophiedebenedetto avatar sarogers avatar fislabstest avatar

Watchers

James Cloos avatar Kevin McAlear avatar  avatar Victoria Thevenot avatar Belinda Black avatar Bernard Mordan avatar  avatar Joe Cardarelli avatar Sara Tibbetts avatar  avatar  avatar  avatar Antoin avatar Alex Griffith avatar  avatar Amanda D'Avria avatar  avatar Scott Ungchusri avatar Nicole Kroese  avatar Lore Dirick avatar Kaeland Chatman avatar Lisa Jiang avatar Vicki Aubin avatar Maxwell Benton avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.