Commit

Commit the staged changes. If there are no staged changes, stage all changes first.

raine 307438f 355 B Updated

File contents

Run git status, git diff, and git diff --cached in parallel to understand the current state. Then:

  • If there are staged changes, commit only what's staged.
  • If there are no staged changes, stage all changes first, then commit.

raine/skills/tree/main/commit commit 307438f22a

Frequently asked questions

npx skillmds@latest add raine/commit