Coder Social home page Coder Social logo

git-workflow-quiz-london-web-030920's Introduction

Git Workflow Quiz

???

Git Workflow Quiz

?: Which of the following does not describe what Git branching is designed to allow developers to do?

( ) Have a sandbox to make changes to another branch of code (X) Make local backups of our code ( ) Work collaboratively ( ) Work separately on code

?: Which command do we use to create a new branch?

(X) git branch new-branch-name ( ) git branch -b new-branch-name ( ) git branch -m new-branch-name ( ) git checkout new-branch-name

?: Which command do we use to switch to another branch?

( ) git branch - ( ) git branch -b new-branch-name (X) git checkout new-branch-name ( ) git branch new-branch-name

?: Which command do we use to stage changes in files?

( ) git add -x (X) git add . ( ) git add ( ) git add -m

?: Which command do we use to commit changes to a branch?

(X) git commit -m <message> ( ) git commit <message> ( ) git commit -p <message> ( ) git commit . <message>

?: Which command do we use to push branches that are not yet tracked?

( ) git push <branch name> ( ) git push -u <branch name> (X) git push -u origin <branch name> ( ) git push origin <branch name>

?: A remote tracking branch is:

(X) A local copy of a remote branch ( ) A local branch that is tracking another local branch ( ) A remote copy of a local branch ( ) A branch on a remote repository

?: Which command will not delete a local branch?

( ) git branch -d <branch-to-delete> ( ) git branch -D <branch-to-delete> ( ) git branch --delete <branch name> (X) git push origin --delete <branch name>

?: Which command do we use to revert back to a previous commit when undoing a merge?

( ) git reset <commit number> (X) git reset --hard <commit number> ( ) git checkout <commit number> ( ) git checkout master

???

git-workflow-quiz-london-web-030920's People

Contributors

jenmyers avatar

Watchers

James Cloos avatar Kevin McAlear avatar  avatar Mohawk Greene avatar Victoria Thevenot avatar Belinda Black avatar Bernard Mordan avatar raza jafri avatar  avatar Joe Cardarelli avatar The Learn Team avatar Sophie DeBenedetto avatar  avatar Antoin avatar Alex Griffith avatar  avatar Amanda D'Avria avatar  avatar Nicole Kroese  avatar Kaeland Chatman avatar Lisa Jiang avatar Vicki Aubin avatar Maxwell Benton avatar  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.