Git by Patrik

Git Commit

A commit is like a snapshot of the Git repository at one point in time. Adding commits keep track of our progress and changes as we work. Git considers each commit change point or "save point". It is a point in the project you can go back.

You should make new commits often, based around logical units of change.

When we commit, we should always include a message.
By adding clear messages to each commit, it is easy for yourself (and others) to see what has changed and when.

Comments

Leave a Comment

All fields are required. Your email address will not be published.