Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
由于克隆和分叉,github中出现错误_Git_Github_Github Pages_Github For Windows - Fatal编程技术网

由于克隆和分叉,github中出现错误

由于克隆和分叉,github中出现错误,git,github,github-pages,github-for-windows,Git,Github,Github Pages,Github For Windows,我想问你,我在本地系统中的克隆存储库中做了更改,但我忘了用本地用户帐户进行更改。 我的存储库来源是,而不是。 我的问题是,是否可以更改源代码或获得克隆存储库的分支,因为当我将更改推送到Github时,我遇到了一个错误: 无法访问“”:请求的URL返回错误:403“如前所述,仅设置 git remote set-url origin http://github.com/useraccount/repository 您仍然可以在github上分叉,然后将新的远程对象设置为新的分叉repo。然后你可

我想问你,我在本地系统中的克隆存储库中做了更改,但我忘了用本地用户帐户进行更改。 我的存储库来源是,而不是。 我的问题是,是否可以更改源代码或获得克隆存储库的分支,因为当我将更改推送到Github时,我遇到了一个错误:

无法访问“”:请求的URL返回错误:403“

如前所述,仅设置

git remote set-url origin http://github.com/useraccount/repository

您仍然可以在github上分叉,然后将新的远程对象设置为新的分叉repo。然后你可以像往常一样努力,为自己的帮助感到高兴。你现在可以接受我的回答了。