From b5ea09561f9afec38ea5b838d76fc1cee07f014f Mon Sep 17 00:00:00 2001 From: DictXiong Date: Fri, 12 Jan 2024 12:38:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20docs/registry.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/registry.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/registry.md b/docs/registry.md index f662ad0..916a871 100644 --- a/docs/registry.md +++ b/docs/registry.md @@ -27,7 +27,7 @@ check_username "a111" [NASP Registry](https://git.nasp.ob.ac.cn/NASP/registry)仓库的主分支(main)受到保护,用户无法直接向其推送更新。所以你需要: - 如果你是新用户,联系管理员,把你加入NASP组织; -- 克隆仓库到本地,创建一个新的分支:`git clone https://git.nasp.ob.ac.cn/NASP/registry && cd registry && git checkout -c ` +- 克隆仓库到本地,创建一个新的分支:`git clone https://git.nasp.ob.ac.cn/NASP/registry && cd registry && git checkout -b ` - 根据上面的指导,添加你的公钥; - 在修改完成之后,提交修改,推送新分支到远端:`git add -A && git commit -m "add my key" && git push -u origin ` - 在网站上创建[合并请求(mr)](https://git.nasp.ob.ac.cn/NASP/registry/compare/main...main),拉取从你的分支合并到主分支;可参考:[#41](https://git.nasp.ob.ac.cn/NASP/registry/pulls/41) -- 2.45.1