How to use https with gitlab.com?

試著忘記壹切 提交于 2020-01-24 20:19:05

问题


A while back I was able to use https with gitlab.com. I am currently using a company that I don't want to add to ssh key to gitlab, so I tried to use https to pull and push on gitlab.com but it seems like I kept getting 500 error.

I remember I have to add some token for this but I don't remember exactly how I can use https with gitlab and there seems to be no documentation for this.


回答1:


First you must generate an access token from: https://gitlab.com/profile/personal_access_tokens

Then you can use https://oauth2:ACCESS_TOKEN@somegitlab.com/vendor/package.git to access your project.



来源:https://stackoverflow.com/questions/49858817/how-to-use-https-with-gitlab-com

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!