Що таке у git commit?Що таке у git commit?

0 Comment

The git commit command captures a snapshot of the project's currently staged changes. Committed snapshots can be thought of as “safe” versions of a project—Git will never change them unless you explicitly ask it to.

Натисніть на те, щоб отримати файли, а також міту репозиторію Enter git add –all at the command line prompt in your local project directory to add the files or changes to the repository. Enter git status to use the changes to be committed.

The -m stands for message. When calling git commit it is required to include a message. Message повинен бути коротким описом змін, які будуть віднесені. Message повинен бути наприкінці команди і він повинен бути закопаний в quotations " " .