From: Yanteng Si <si.yanteng@linux.dev>
To: Dongliang Mu <dzm91@hust.edu.cn>, Alex Shi <alexs@kernel.org>,
Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] docs/zh_CN: update git command examples in how-to.rst
Date: Tue, 17 Jun 2025 09:44:43 +0800 [thread overview]
Message-ID: <9aa4278e-0f43-420b-b6b5-78a32263d7ec@linux.dev> (raw)
In-Reply-To: <20250616134003.3981866-1-dzm91@hust.edu.cn>
在 6/16/25 9:40 PM, Dongliang Mu 写道:
> 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>
Thanks,
Yanteng
> ---
> Documentation/translations/zh_CN/how-to.rst | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/translations/zh_CN/how-to.rst b/Documentation/translations/zh_CN/how-to.rst
> index 569b0209385a..0896f13d8b8d 100644
> --- a/Documentation/translations/zh_CN/how-to.rst
> +++ b/Documentation/translations/zh_CN/how-to.rst
> @@ -177,8 +177,7 @@ git和邮箱配置
> 请执行以下命令,新建开发分支::
>
> git checkout docs-next
> - git branch my-trans
> - git checkout my-trans
> + git checkout -b my-trans
>
> 译文格式要求
> ------------
> @@ -286,7 +285,7 @@ warning 不需要解决::
> 然后执行以下命令为补丁追加更改::
>
> git checkout docs-next
> - git branch test-trans
> + git checkout -b test-trans-new
> git am 0001-xxxxx.patch
> ./scripts/checkpatch.pl 0001-xxxxx.patch
> 直接修改您的翻译
next prev parent reply other threads:[~2025-06-17 1:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-16 13:40 Dongliang Mu
2025-06-17 1:44 ` Yanteng Si [this message]
2025-06-18 12:59 ` Alex Shi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9aa4278e-0f43-420b-b6b5-78a32263d7ec@linux.dev \
--to=si.yanteng@linux.dev \
--cc=alexs@kernel.org \
--cc=corbet@lwn.net \
--cc=dzm91@hust.edu.cn \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®