2015年做啥網(wǎng)站能致富網(wǎng)絡(luò)營銷策劃的概念
1 創(chuàng)建IAM用戶
IAM創(chuàng)建admin用戶,增加AWSCodeCommitFullAccess權(quán)限
2 創(chuàng)建存儲庫
CodePipeline -> CodeCommit -> 存儲庫
創(chuàng)建存儲庫
3 SSH
1) window環(huán)境
3.1.1 上載SSH公有秘鑰
生成SSH秘鑰ID
3.1.2?編輯本地 ~/.ssh 目錄中名為“config”的 SSH 配置文件
Host git-codecommit.us-east-x.amazonaws.com
User 上一步的秘鑰ID
IdentityFile ~/.ssh/Your-Private-Key-File-Name-Here
4 git拉取代碼
$ git clone ssh://git-codecommit.us-east-x.amazonaws.com/v1/repos/aws-codepipeline-demo
5 提交代碼
$ git add -A
$ git commit -m "Add sample application files"
$ git push