Skip to content

Commit

Permalink
chore: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ErKeLost committed Nov 5, 2024
1 parent ba35d48 commit 303e7b0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,17 @@
- 保证您的 `main` 分支指向远程仓库, 并从分支上发出拉取请求, 请确保您的分支是基于 `main` 分支的, 并且运行:


- adds a new remote repository named "upstream" that points to the original repository
- 添加了 Farm 的 upstream 远程仓库
```bash
git remote add upstream https://github.com/farm-fe/farm.git
```

- retrieves all the branches and their respective commits from the upstream repository that you just configured
- upstream 远程仓库获取所有分支和它们的提交
```bash
git fetch upstream
```

- sets up tracking between your local main branch and the main branch of the upstream repository
- 建立了你本地 main 分支与 upstream 仓库 main 分支之间的跟踪关系
```bash
git branch --set-upstream-to=upstream/main main
```
Expand Down

0 comments on commit 303e7b0

Please sign in to comment.