Devops

What is a commit?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

  • In Git, a commit is a snapshot of your repo at a specific point in time.
  • The git commit command will save all staged changes, along with a brief description from the user, in a “commit” to the local repository.