

Git and GitHub Commands
Flashcard
•
Information Technology (IT)
•
University
•
Practice Problem
•
Easy
Aymane Benhima
Used 1+ times
FREE Resource
Student preview

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.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?