测试从分叉仓库创建的拉取请求

时间:2016-10-20 23:30:25

标签: git github

假设我拥有网站“stackoverflow”。它位于github.com/stackoverflow/main-site

现在Jimmy创建了一个仓库的分支,github.com/jimmy/main-site

Jimmy然后创建一个拉取请求并将其提交到我的原始仓库。吉米没有让我进入叉子。

如何在本地测试PR?

Github提供了这些说明:

Step 1. From your project repository, checkout a new branch and test the changes.

git checkout -b sweet-awesome-changes master

工作正常。我刚刚在本地创建了一个分支sweet-awesome-changes

接下来Github说:

git pull git@github.com:jimmy/main-site.git sweet-awesome-changes

但是当我这样做时,我收到一个错误,即找不到存储库:

ERROR: Repository not found.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

我该怎么办?

0 个答案:

没有答案
相关问题