gitlab - Push to a repository using access_token

后端 未结 3 726
温柔的废话
温柔的废话 2020-12-25 11:12

I implemented the oauth2 web flow in order to get access_token from users of my app. With the access_token, I would like to do the following actions:

  1. Get use
3条回答
  •  误落风尘
    2020-12-25 11:25

    It is also possible to push directly without adding a new remote repository:

    git push https://gitlab-ci-token:@gitlab.com/myuser/myrepo.git 
    

    This could be especially handy if you would like pull & push to different repositories.

提交回复
热议问题