QuestionQ19

Automation, Orchestration, and Scripting

A Linux engineer needs to record completed changes in a Git repository. Which of the following commands should the engineer use?

  • A git push
  • B git add
  • C git commit
  • D git clone
Explanation

git commit creates a new commit that records the staged changes in the local Git repository’s history.

Community Discussion

No comments yet. Be the first to start the discussion!