我是亚马逊codecommit的新成员。如何在Gitlab和Amazon CodeCommit之间切换Intellij Idea项目vcs?
按照他们的指示,我不喜欢下面
- 一些作品作出新的IAM用户与AdministratorAccess
- 作出新codecommit库
- 安装
awscli
并做aws configure
当我正确地完成了这些事情,我可以从codecommit中拉出/推送。 但是,它通过intellij Idea被禁用。
我不喜欢的东西......
- 我拉一个项目从gitlab
git remote rm origin
git remote add origin [code commit url]
git branch --set-upstream-to origin/master
现在我型git [pull/push] origin master
,我得到这个错误信息。
unable to access 'https://git-codecommit.ap-northeast-1.amazonaws.com/v1/repos/test17/': The requested URL returned error: 403
当我通过浏览器访问此URL时,它需要id/pw。但我的IAM用户帐户信息不起作用。
我该怎么办?有没有办法在intellij中切换gitlab和codecommit?
谢谢。