Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

* 在 GitHub 上点击 `fork` 将本仓库 fork 到自己的仓库,如 `yourname/nginx-docs`,然后 `clone` 到本地。

```sh
```bash
$ git clone [email protected]:yourname/nginx-docs.git
$ cd nginx-docs
# 将项目与上游关联
Expand All @@ -13,7 +13,7 @@ $ git remote add source [email protected]:DocsHome/nginx-docs.git

* 增加内容或者修复错误后提交,并推送到自己的仓库。

```sh
```bash
$ git add .
$ git commit -a "Fix issue #1: change helo to hello"
$ git push origin/master
Expand All @@ -23,7 +23,7 @@ $ git push origin/master

* 请定期更新自己仓库内容。

```sh
```bash
$ git fetch source
$ git rebase source/master
$ git push -f origin master
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Nginx 中文文档

[![GitHub stars](https://img.shields.io/github/stars/DocsHome/nginx-docs.svg?style=social&label=Stars)](https://github.com/DocsHome/nginx-docs) [![GitHub contributors](https://img.shields.io/github/contributors/DocsHome/nginx-docs.svg)](https://github.com/DocsHome/nginx-docs) [![GitHub pull requests](https://img.shields.io/github/issues-pr/DocsHome/nginx-docs.svg)](https://github.com/DocsHome/nginx-docs) [![GitHub last commit](https://img.shields.io/github/last-commit/DocsHome/nginx-docs.svg)](https://github.com/DocsHome/nginx-docs)
[![GitHub stars](https://img.shields.io/github/stars/DocsHome/nginx-docs.svg?style=social&label=Stars)](https://github.com/DocsHome/nginx-docs) [![GitHub pull requests](https://img.shields.io/github/issues-pr/DocsHome/nginx-docs.svg)](https://github.com/DocsHome/nginx-docs) [![GitHub last commit](https://img.shields.io/github/last-commit/DocsHome/nginx-docs.svg)](https://github.com/DocsHome/nginx-docs)

![Nginx logo](https://nginx.org/nginx.png)

Expand Down