doc: update git repo for CONTRIBUTING.md (#1872)

Co-authored-by: Yao Wang <wangyao_yewu@cmss.chinamobile.com>
This commit is contained in:
wangyao 2022-05-12 12:34:07 +08:00 committed by GitHub
parent 2d25938370
commit 97694063c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -14,13 +14,13 @@ Before submitting the code, we need to do some preparation:
1. Sign up or login to GitHub: [https://github.com](https://github.com)
2. Fork HugeGraph repo from GitHub: [https://github.com/hugegraph/hugegraph/fork](https://github.com/hugegraph/hugegraph/fork)
2. Fork HugeGraph repo from GitHub: [https://github.com/apache/incubator-hugegraph/fork](https://github.com/apache/incubator-hugegraph/fork)
3. Clone code from fork repo to local: [https://github.com/${GITHUB_USER_NAME}/hugegraph](https://github.com/${GITHUB_USER_NAME}/hugegraph)
3. Clone code from fork repo to local: [https://github.com/${GITHUB_USER_NAME}/incubator-hugegraph](https://github.com/${GITHUB_USER_NAME}/incubator-hugegraph)
```shell
# clone code from remote to local repo
git clone https://github.com/${GITHUB_USER_NAME}/hugegraph
git clone https://github.com/${GITHUB_USER_NAME}/incubator-hugegraph.git hugegraph
```
4. Configure local HugeGraph repo
@ -29,7 +29,7 @@ Before submitting the code, we need to do some preparation:
cd hugegraph
# add upstream to synchronize the latest code
git remote add hugegraph https://github.com/hugegraph/hugegraph
git remote add hugegraph https://github.com/apache/incubator-hugegraph
# set name and email to push code to github
git config user.name "{full-name}" # like "Jermy Li"
@ -40,7 +40,7 @@ Optional: You can use [GitHub desktop](https://desktop.github.com/) to greatly s
## 2. Create an Issue on GitHub
If you encounter bugs or have any questions, please go to [GitHub Issues](https://github.com/hugegraph/hugegraph/issues) to report them and feel free to [create an issue](https://github.com/hugegraph/hugegraph/issues/new).
If you encounter bugs or have any questions, please go to [GitHub Issues](https://github.com/apache/incubator-hugegraph/issues) to report them and feel free to [create an issue](https://github.com/apache/incubator-hugegraph/issues/new).
## 3. Make changes of code locally