Hotfix: docs/registry.md (#3)
Reviewed-on: https://git.nasp.ob.ac.cn/NASP/wiki/pulls/3
This commit is contained in:
parent
9f5acce495
commit
93cd851533
|
@ -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 <your_branch_name> `
|
||||
- 克隆仓库到本地,创建一个新的分支:`git clone https://git.nasp.ob.ac.cn/NASP/registry && cd registry && git checkout -b <your_branch_name> `
|
||||
- 根据上面的指导,添加你的公钥;
|
||||
- 在修改完成之后,提交修改,推送新分支到远端:`git add -A && git commit -m "add my key" && git push -u origin <your_branch_name>`
|
||||
- 在网站上创建[合并请求(mr)](https://git.nasp.ob.ac.cn/NASP/registry/compare/main...main),拉取从你的分支合并到主分支;可参考:[#41](https://git.nasp.ob.ac.cn/NASP/registry/pulls/41)
|
||||
|
|
Loading…
Reference in New Issue
Block a user