WEEK 7 · LESSON 4 · TOPIC 10 OF 11 · Trade-Offs and Limitations

Trade-Offs and Limitations

Lesson progress

0% Complete

SECTION 1 OF 1

In this topic · 1 sections
  1. Overview

Overview

A commit saves only staged changes. Unstaged edits remain outside the commit.

A vague message weakens the usefulness of the log because the saved state has little explanation.

Checking out a commit is useful for inspection, but detached HEAD is not the same as returning to a normal development branch. Move back to a branch before continuing ordinary branch-based work.

The order of commit IDs affects diff output, so a confusing comparison may simply need the identifiers reversed.