git服务器忘记超级账户密码

docker exec -it c6d74720ed00 /bin/bash
cd /home/git/gitlab/bin
./rails console -e production
user = User.where(id: 1).first
user.password='123456'
user.save!


This entry was posted in JAVA. Bookmark the permalink.
月小升QQ 2651044202, 技术交流QQ群 178491360
首发地址:月小升博客https://java-er.com/blog/git-remember-passwd/
无特殊说明,文章均为月小升原创,欢迎转载,转载请注明本文地址,谢谢
您的评论是我写作的动力.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

*