【发布时间】:2016-03-16 12:49:38
【问题描述】:
我有一个已在 Github 上删除的旧仓库的本地副本。
这个本地副本只是一个简单的克隆(没有 -bare 或 -mirror),由:
git clone https://github.com/olduser/oldrepo.git
这个旧的 Github 用户帐户我已经失去了控制。
如何将这个已删除的 repo 上传回 Github,同时保留所有提交历史记录?
我想要的类似于将它恢复为分叉,并恢复到新位置:
https://github.com/newuser/newrepo.git
有可能吗?
【问题讨论】:
标签: git github repository restore