docs/zh_CN: update git command examples in how-to.rst
authorDongliang Mu <dzm91@hust.edu.cn>
Wed, 18 Jun 2025 12:53:10 +0000 (20:53 +0800)
committerAlex Shi <alexs@kernel.org>
Sun, 6 Jul 2025 13:13:27 +0000 (21:13 +0800)
commit31df8330ee3f161e589896aeca0cbf5a5edcd5db
tree3df110ea3da3ca824d435b8252ebd1148dc06a54
parentf7a57c9cc5af3cc273c74f3755a1ed2e71990910
docs/zh_CN: update git command examples in how-to.rst

This patch leverages `checkout -b` to shorten branch & checkout
and fix the missing checkout.

Signed-off-by: Dongliang Mu <dzm91@hust.edu.cn>
Acked-by: Yanteng Si <si.yanteng@linux.dev>
Signed-off-by: Alex Shi <alexs@kernel.org>
Documentation/translations/zh_CN/how-to.rst