From 864d66ff6612fe206d9cbd190cf06b6bf346f462 Mon Sep 17 00:00:00 2001 From: Joyee <826144794@qq.com> Date: Fri, 31 Jul 2020 09:10:53 +0800 Subject: [PATCH] update content/zh/blog/liucw0716/luozhenyu/000-openEuler-development-process.md. --- .../000-openEuler-development-process.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/content/zh/blog/liucw0716/luozhenyu/000-openEuler-development-process.md b/content/zh/blog/liucw0716/luozhenyu/000-openEuler-development-process.md index d973e8a..97c4d1b 100644 --- a/content/zh/blog/liucw0716/luozhenyu/000-openEuler-development-process.md +++ b/content/zh/blog/liucw0716/luozhenyu/000-openEuler-development-process.md @@ -51,17 +51,17 @@ cat \~/.ssh/id_rsa.pub - + 二、提交PR 1. 进入要修改的仓库,点击右上角的Forked,将其fork到自己的仓库,如下图所示。 - + 2. Fork成功之后会自动进入Fork的仓库目录,点击克隆/下载-\>选择复制任一链接。见下图。 - + 3. 将仓库clone到本地,并进入仓库目录。以上图perl-Text-ParseWords仓库为例。 @@ -73,18 +73,18 @@ cd perl-Text-ParseWords 4. 可以通过git remote –v查看所有远程库的url,见下图。 - + > 发现没有原作者的项目地址,使用git remote add upstream > https://gitee.com/openeuler/perl-Text-ParseWords.git添加,再次执行git remote > –v。如下图所示。 - + > 使用git remote set-url --push upstream > no_push,设置不直接将改变推送到上游openEuler里面的仓库,而是只推送到自己Fork的gitee仓库下。见下图。 - + > 4.1 git fetch > upstream与上游openEuler社区保持同步;如果是已提交过一次代码以后再做代码修改操作,可以跳过2.3/2.4两个步骤。 @@ -117,14 +117,14 @@ git config --global credential.helper store > 输入上述命令以后用户名密码就会被git记住,之后在这个目录下都不需要再输入用户名密码了 - + 7. 进入改动过代码的自己的仓库,选择下图小标1,或者点击小标2后接着进入新建Pull Requests。 - + 8. 例子中2.6步建立的分支为test_ci,在新建Pull Requests之后,如下图所示 - + > 填写标题和说明即可创建Pull Request。 \ No newline at end of file -- GitLab