Git Product home page Git Product logo

git-version-control-quiz-recoded-baghdad-2019's Introduction

Git: Getting and Adding to Code Quiz

???

Git: Getting and Adding to Code Quiz

?: Which of the following is not a benefit of using a version control system?

( ) Documenting changes (X) Having errors automatically pointed out ( ) Automatically creating a backup of your work ( ) Keeping file names and hierarchies consistent and organized

?: Which of the following is the correct way to initialize a Git repository?

( ) initialize git ( ) git initialize (X) git init ( ) init git

?: We can check the current state of the files in a Git repository with the command “git status.”

(X) TRUE ( ) FALSE

?: Which command do we use to tell Git we want to commit the changes in the file greet.rb?

( ) git add changes greet.rb ( ) add git changes greet.rb (X) git add greet.rb ( ) add git greet.rb

?: Which command do we use to establish a new version in our Git history with a message explaining how the version has changed?

( ) git commit ( ) git m commit ( ) commit git message (X) git commit -m

?: The command git clone https://github.com/my-git-repository does what?

(X) Creates a copy of the remote repository “my-git-repository” on your local machine ( ) Pushes a copy of your local repository to GitHub ( ) Creates a copy of your local repository on your local machine ( ) Creates a connection between your local repository and a remote repository

?: Which command lists all the remote “short names” known to a Git repository?

( ) all remotes (X) git remote -v ( ) view git remotes ( ) git remote view

?: Which of the following steps are required to create a remote repository on GitHub?

( ) Create a new directory on your local machine (X) Go to “github.com/new,” while logged into GitHub ( ) Fork another organization’s repository ( ) None of the above

?: The correct way to connect a local repository to a remote repository is git remote add origin <your-copied-remote-repository-URL>.

(X) TRUE ( ) FALSE

?: Which of the following is the correct way to send code to a remote repo for the first time?

( ) git push (X) git push -u origin master ( ) git send ( ) git push new

???

git-version-control-quiz-recoded-baghdad-2019's People

Contributors

jenmyers avatar

Watchers

James Cloos avatar Alex Griffith 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.