撤消用户删除和删除他的项目
Undo user delation and removal of his project
在我们自己的Gitlab服务器上,不小心把默认admin去掉了,之前这个默认admin创建的repo也没有了。
如何恢复丢失的 repo?
按照merlin2011的建议,我终于把我的本地副本克隆到了gitlab服务器:
git remote -v // list all remote repo
git add repo 192.168.1.xxx //our local git server
git push -u repo master
git remote remove repo
git add origin 192.168.1.xxx
在我们自己的Gitlab服务器上,不小心把默认admin去掉了,之前这个默认admin创建的repo也没有了。
如何恢复丢失的 repo?
按照merlin2011的建议,我终于把我的本地副本克隆到了gitlab服务器:
git remote -v // list all remote repo
git add repo 192.168.1.xxx //our local git server
git push -u repo master
git remote remove repo
git add origin 192.168.1.xxx