- CodeCommit2024년 12월 24일
- wngnl05
- 작성자
- 2024.12.24.:35
- Codecommit 다운로드 : git clone <code commit https>
- 처음 브런치 생성 코드 : git branch -M <브런치 이름>
- 이후 브런치 생성 코드 : git checkout -b <브런치 이름>
- 브런치 변경 코드 : git switch <브런치 이름>
- 브런치 업데이트 : git pull origin <브런치>
- 브런치 삭제 : git push origin --delete <브런치>
- 기본 브런치 변경
aws codecommit update-default-branch --repository-name <코드 커밋 이름> --default-branch-name <브런치 이름>
- Push 코드
git add . git commit -m "<업데이트 내용>" git push origin <브런치 이름>
- Git 자격증명 저장
git config --global credential.helper store git pull
위 코드를 사용하면 codecommit 자격증명 코드를 저장해서 codecommit을 업데이트 할때
비밀번호를 작성하지 않아도 됩니다.
- Git 오류 뜰때
git config --global credential.helper '!aws codecommit credential-helper $@' git config --global credential.UseHttpPath true
윈도우
더보기git config --global user.email "your_email@example.com"
git config --global user.name "Your Name"
윈도우 Git 자격증명 초기화
git config --global credential.helper '!aws codecommit credential-helper $@' git config --global credential.UseHttpPath true
'Aws' 카테고리의 다른 글
Kinesis Firehose & Lambda를 이용한 레코드 변환 (0) 2024.12.24 Codebuild로 ECR 업로드 하기 (0) 2024.12.24 Kinesis Firehose를 이용해서 S3에 Parquet확장자로 파일 저장하기 (0) 2024.12.24 Athena 쿼리를 Lambda로 가져와서 S3버킷에 csv파일로 저장하기 (1) 2024.12.24 EKS - External-Dns 설정하기 (0) 2024.12.24 다음글이전글이전 글이 없습니다.댓글
스킨 업데이트 안내
현재 이용하고 계신 스킨의 버전보다 더 높은 최신 버전이 감지 되었습니다. 최신버전 스킨 파일을 다운로드 받을 수 있는 페이지로 이동하시겠습니까?
("아니오" 를 선택할 시 30일 동안 최신 버전이 감지되어도 모달 창이 표시되지 않습니다.)