git log 命令参数详解(Git 使用教程 08)

git log 查询提交历史。本文按显示、过滤、范围三组解说 --oneline/--graph/--decorate/--all/-n/--author/--since/--grep/--stat/-p/--pretty/-S/-G 等参数,附别名与定位提交的技巧。

git log 命令参数详解(Git 使用教程 08)

git diff 命令参数详解(Git 使用教程 07)

git diff 比较工作区、暂存区与提交之间的差异。本文解说 --cached/--staged、--stat、--name-only、--check、--word-diff、-w、--no-index 等参数,附提交前检查流程。

git diff 命令参数详解(Git 使用教程 07)

git commit 命令参数详解(Git 使用教程 06)

git commit 把暂存区固化为本地提交。本文逐项解说 -m、-a、--amend、--no-edit、--fixup/--squash、-p、-v、--allow-empty、--no-verify 等参数与 amend 的使用边界。

git commit 命令参数详解(Git 使用教程 06)

git add 命令参数详解(Git 使用教程 05)

git add 把改动写入暂存区。本文逐项解说 -A、-u、-p、-i、-f、-n、-N、--chmod、--renormalize 等参数,附拆分提交的实操与 git add . 和 -A 的区别。

git add 命令参数详解(Git 使用教程 05)

git status 命令参数详解(Git 使用教程 04)

git status 只读地显示工作区与暂存区状态。本文解说 -s/-b/--porcelain/-u/--ignored/-v 等参数,附两字母状态码对照表与脚本用法。

git status 命令参数详解(Git 使用教程 04)

git clone 命令参数详解(Git 使用教程 03)

git clone 复制远端仓库到本地。本文逐项解说 -b/--branch、--depth、--single-branch、--recurse-submodules、--filter、--sparse、-n、--bare 等参数,并说明浅克隆的坑与补全方法。

git clone 命令参数详解(Git 使用教程 03)

git init 命令参数详解(Git 使用教程 02)

git init 把目录初始化为 Git 仓库。本文解说 -b/--initial-branch、--bare、--template、--separate-git-dir、--object-format 等参数,附从零到推送远端的完整流程。

git init 命令参数详解(Git 使用教程 02)

git config 命令参数详解(Git 使用教程 01)

git config 负责 Git 的三层配置。本文逐项解说 --system/--global/--local、--list、--show-origin、--get、--unset、--edit、--type 等常用参数,给出最小配置、别名与配置冲突排查方法。

git config 命令参数详解(Git 使用教程 01)