使用octokit.net版本0.50.0 (目前的最新版本)创建一个从特性分支branch1到主服务器的拉请求。
如果特性分支存在.github目录,Octokit库将引发验证错误。
如果branch1有.any_other_dir_name或.github111,则创建拉请求有效,但只有在特性分支添加了.github dir时才会失败。
代码:
var client = new GitHubClient(
new ProductHeaderValue("branch1"),
new InMemoryCredentialStore(new Credentials(access
我正在将一个git代码库迁移到另一个。为此,我对clone和push操作都使用了--mirror标志。
这是可以工作的,除了最后的一个失败,导致我的bash脚本失败,它看起来是孤立的拉取请求:
! [remote rejected] refs/pull/1/head -> refs/pull/1/head (The current action can only be performed by the system.) ! [remote rejected] refs/pull/1/merge -> refs/pull/1/merge (The current action ca