【避坑】communicate-using-markdown无法正常PR

新建Pull Request过程中无法edit文件【避坑】|communicate-using-markdown

在使用Github官方的入门文档时communicate-using-markdown;Step1 编辑文档时,edit file 为灰色,无法点击。
这个问题是由于原文作者描述不当,或者说,作为初学者,咱们需要更明确的手把手教学(本文!)

原步骤

Activity: Edit your file with headers

  1. Open a new browser tab, and work on the steps in your second tab while you read the instructions in this tab.
  2. Open the pull requests tab.
  3. Click New pull request, for the branches to compare, select base: main and compare: start-markdown.
  4. Click Create pull request.
  5. In this pull request, go to the Files changed tab. We made an empty file index.md for you.
  6. Select Edit file from the three dotted … menu in the upper right corner of the file view on index.md.

步骤重述如下,带大量图片:

2. 打开pull Request 标签

打开PR标签

点击第三个标签,进入pull Request

3. 点击New pull request,选择对比

新建PR

点击新建PR
选择正确的分支

选择正确的分支进行比对工作

4. 点击Create pull request.

新建PR

点击建立PR
完成新增PR

走完整个流程,完成新增

5. 转到 Files changed tab

选择Files Changed

在新页面上,选择Files changed 标签
找到对应描述

在Files changed 标签中,找到 index.md

6.Select Edit file

Edit File

此时Edit file 可选择

7. 编辑标题

正常操作

编辑标题 以# 开始,之后给一个空格 即可让当前行的数据以<h1>的格式展示

9. 预览后提交

正常操作

使用Preview 进行预览,预览后commit
正常commit

自己填写合适的commit信息后,点击 commit changes 等待一段时间后(即Actions操作),进入Step2(全过程不需要进行merge操作)
进入Step2

进入Step2(大概一分钟后)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值