Git and GitHub Commands

Git and GitHub Commands

Assessment

Flashcard

Information Technology (IT)

University

Easy

Created by

Aymane Benhima

Used 1+ times

FREE Resource

Student preview

quiz-placeholder

38 questions

Show all answers

1.

FLASHCARD QUESTION

Front

git config --global user.name "[firstname lastname]"

Back

Set a name that is identifiable for credit when reviewing version history.

2.

FLASHCARD QUESTION

Front

git config --global user.email "[valid-email]"

Back

Set an email address that will be associated with each history marker.

3.

FLASHCARD QUESTION

Front

git config --global color.ui auto

Back

Set automatic command line coloring for Git for easy reviewing.

4.

FLASHCARD QUESTION

Front

git clone [url]

Back

Retrieve an entire repository from a hosted location via URL.

5.

FLASHCARD QUESTION

Front

git reset [file]

Back

Unstage a file while retaining the changes in the working directory.

6.

FLASHCARD QUESTION

Front

git commit -m "[descriptive message]"

Back

Commit your staged content as a new commit snapshot.

7.

FLASHCARD QUESTION

Front

git branch

Back

List your branches. A * will appear next to the currently active branch.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?