Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我不小心删除了 gitlab-ce 的 git 用户主目录(即 /home/git),无论如何都找不到恢复它。通常使用的 mkhomedir_helper 显然不适合这里,因为 gitlab 的用户主目录具有特殊的结构,并且不会从 /etc/skel 复制文件所以有人可以告诉我如何恢复目录吗?对 gitlab-ce 的运行真的很重要。
如果您没有备份,请尝试在空白机器上再次安装它并从那里复制文件夹。