Search Header Logo

POST TEST GIT

Authored by Ghany Ersa

Computers

12th Grade - Professional Development

Used 8+ times

POST TEST GIT
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

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

git push

git fork

git clone

git commit

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

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

git push

git add

git upload

git status

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

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

git check

git status

git commit

git diff

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How do you stage files for a commit?

git stage

git commit

git add

git reset

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

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

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

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

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

git commit add .

git commit .

git add .

git push -am "message"

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

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"

git commit -m "i'm coding"

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?