我刚安装gitlab当遵循了这一官方指导价:https://github.com/gitlabhq/gitlabhq/blob/master/doc/install/installation.md密码提示推本地主机(gitlab)git仓库
在同一台服务器,我安装的git(实验室),我试图做创建一个仓库以下内容:
su git (i started by logging in with the git user) cd /home/git/repositories mkdir test-project cd test-project git init touch README git add README git commit -m 'first commit' git remote add origin [email protected]:root/test-project.git git push -u origin master
但是当我输入最后一行时,会提示用户输入密码[email protected]。
另外,当我输入
ssh -T [email protected]或
ssh -T [email protected]时,我收到提示密码。
我一直在尝试加载可能的解决方案,写在互联网上但似乎没有工作。
感谢您的帮助提前。
可能重复[GitLab需要git @ localhost密码才能推送到回购站点](http:// stackoverflow .com/questions/11767366/gitlab-requires-gitlocalhost-password-to-a-repo) –