Skip to content

Commit 38cb09a

Browse files
committed
docs: update readme guideline
1 parent 7455b00 commit 38cb09a

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -115,12 +115,13 @@
115115
如果你对本项目感兴趣,并且希望加入我们刷题小分队,欢迎随时提交 [PR](https://github.com/doocs/leetcode/pulls)。请参考如下步骤:
116116

117117
1. 将本项目 fork 到你的个人 GitHub 帐户,然后 clone 到你的本地机器;
118+
1. 进入 leetcode 目录,切换到一个新的分支;
118119
1. 对项目做出一些变更,然后使用 git add、commit、push 等命令将你的本地变更提交到你的远程 GitHub 仓库;
119120
1. 将你的变更以 PR 的形式提交过来,项目的维护人员会在第一时间对你的变更进行 review!
120121
1. 你也可以参考帮助文档 https://help.github.com/cn 了解更多细节。
121122

122123
<p align="center">
123-
<a href="https://github.com/doocs/leetcode"><img src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/images/how-to-contribute.png" alt="how-to-contribute"></a>
124+
  <a href="https://github.com/doocs/leetcode"><img src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/images/how-to-contribute.svg" alt="how-to-contribute"></a>
124125
</p>
125126

126127
[Gitpod.io](https://www.gitpod.io) 是一个免费的在线开发环境,你也可以使用它参与本项目。

README_EN.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,13 @@ Complete solutions to [LeetCode](https://leetcode.com/problemset/all/), [LCOF](h
109109
I'm looking for long-term contributors/partners to this repo! Send me [PRs](https://github.com/doocs/leetcode/pulls) if you're interested! See the following:
110110

111111
1. Fork [this repository](https://github.com/doocs/leetcode) to your own GitHub account and then clone it to your local machine.
112+
1. Checkout a new branch.
112113
1. Make some changes to your leetcode repository, then push the changes to your remote GitHub repository.
113114
1. Create a pull request with your changes!
114115
1. See [CONTRIBUTING](https://github.com/doocs/.github/blob/main/CONTRIBUTING.md) or [GitHub Help](https://help.github.com/en) for more details.
115116

116117
<p align="center">
117-
<a href="https://github.com/doocs/leetcode"><img src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/images/how-to-contribute.png" alt="How to contribute"></a>
118+
  <a href="https://github.com/doocs/leetcode"><img src="https://cdn.jsdelivr.net/gh/doocs/leetcode@main/images/how-to-contribute.svg" alt="how-to-contribute"></a>
118119
</p>
119120

120121
You can also contribute to [doocs/leetcode](https://github.com/doocs/leetcode) using [Gitpod.io](https://www.gitpod.io), a free online dev environment with a single click.

images/how-to-contribute.svg

+1
Loading

0 commit comments

Comments
 (0)