Committing Changes
- To commit the changes or to store the snapshot in the staging area permanently to the repository.
git commit -m "Initial Commit"
Committing with detailed decription
git commit
- Opens
COMMIT_EDITMSG
in the default editor - Type short description
- Add blank line
- Type long description
- Save and Close