Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 336 Bytes

File metadata and controls

18 lines (13 loc) · 336 Bytes

Git Commit

The git commit command saves changes to the repository.

Usage

git commit -m "Your commit message"

Explanation

  • Creates a new commit with the changes in the staging area.

  • Requires a commit message to describe the changes.

Example

git commit -m "Add initial project structure"