参考资料库
Git 命令速查表
用于查看状态、检查 diff 和创建聚焦提交的常用 Git 命令。
Check status
参考: Inspect changed, staged, and untracked files before committing.
git status Show recent commits
参考: Review recent history before writing a new commit message.
git log --oneline -5 Compare changes
参考: Read unstaged code changes before staging.
git diff Create commit
参考: Commit a focused change with a clear message.
git commit -m "fix: describe the change"