取消fork项目,变成自己的项目
取消fork项目,变成自己的项目
描述
取消fork项目,变成自己的项目
操作流程
Mirroring a repository
1.Open Terminal.
2.Create a bare clone of the repository.
$ git clone –bare https://github.com/exampleuser/old-repository.git
3.Mirror-push to the new repository. $ cd old-repository.git $ git push –mirror https://github.com/exampleuser/new-repository.git
4.Remove the temporary local repository you created in step 1.
$ cd ..
$ rm -rf old-repository.git