Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 749 Bytes

commits.md

File metadata and controls

26 lines (18 loc) · 749 Bytes

Commits

What is it?

Simply put, Commits are saved changes.

Commits Explained

Each commit has an associated commit message. A good commit message is a description why a particular change was made or the changes themselves.

Git assigns each commit a unique ID, called a SHA or hash, that identifies:

  • The specified changes
  • When the changes were made
  • Who created the changes

Command

git commit -m "<A descriptive change>"

Funny Commit meme

Commits that are meaningful and make the repo better are wonderful ;)

  • Hmm, surely there must be a way to commit to a repo without breaking anything that might be really important.

next