简体   繁体   中英

how to restore git user home directory of gitlab

I accidentally deleted the git user home directory of gitlab-ce (ie /home/git) and couldn't find anyway to restore it. The normally used mkhomedir_helper is apparently not suitable here as gitlab's user home directory has a special structure and doesn't copy files from /etc/skel So do any one can tell me how to restore the directory? It is really important for the operation of gitlab-ce.

如果没有备份,请尝试再次将其安装在空白计算机上,然后从那里复制文件夹。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM