GitLab requires git@localhost password to push to a repo

前端 未结 15 2038
梦毁少年i
梦毁少年i 2020-12-30 03:38

I\'m trying to get GitLab up and running on my server. I followed the installation instructions at the gitlab github page and everything went well.

The issue is, whe

15条回答
  •  清歌不尽
    2020-12-30 04:07

    This started happening to me quite a lot lately - for work projects git would ask me my email and password. When entered it continues ok but it's annoying.

    I can fix this for any given application that I have access to with:

    git config remote.origin.url git@github.com:user_org_or_co/repo_name_itself
    

    e.g.

    git config remote.origin.url git@github.com:smithw/bookmarkapp
    

提交回复
热议问题