Beginner
Git & Version Control
Q6 / 100
What does "git commit" do?
Correct! Well done.
Incorrect.
The correct answer is A) It records the staged changes as a new snapshot in the repository's history, along with a descriptive message
A
Correct Answer
It records the staged changes as a new snapshot in the repository's history, along with a descriptive message
Explanation
"git commit -m \"message\"" saves a permanent snapshot of the staged changes to the local repository's history, identified by a unique commit hash.
Progress
6/100