-
728x90
🧭
push 에러 발생
BitBucket으로 pull은 잘됐는데, push가 되지 않았습니다.
https? ssh?
빗버킷과 로컬 환경을 연결하는 방법은 https와 ssh 2가지가 있습니다.
저는 https 방법으로 연결해 두었고, 'your credentials lack one or more required privilege scopes.'와 같은 에러가 발생하였습니다.
해결방법
https 연결 방법 유지(macOS 기준)
아래와 같은 코드를 입력하여 get-credential-magager-core를 설치합니다.
$ brew tap microsoft/git $ brew install --cask git-credential-manager-core
이후 다시 push를 해보면 bitbucket 로그인을 유도하는 창이 나오고, 원하는 방법으로 로그인을 완료하면 됩니다.
ssh 연결 방법으로 변경
ssh로 변경하고자 하시는분은 아래 링크를 참고하시기 바랍니다.
📌
https://github.com/git-ecosystem/git-credential-manager/blob/release/docs/install.md
GitHub - git-ecosystem/git-credential-manager: Secure, cross-platform Git credential storage with authentication to GitHub, Azur
Secure, cross-platform Git credential storage with authentication to GitHub, Azure Repos, and other popular Git hosting services. - GitHub - git-ecosystem/git-credential-manager: Secure, cross-plat...
github.com
https://support.atlassian.com/bitbucket-cloud/docs/configure-ssh-and-two-step-verification/
Configure SSH and two-step verification | Bitbucket Cloud | Atlassian Support
Set up SSH in Bitbucket Cloud to reduce the risk of exposing your username and password.
support.atlassian.com
728x90'패시브 스킬' 카테고리의 다른 글
<CI/CD> 도커, 깃헙 액션 (0) 2022.05.08 <AWS> EC2를 활용한 서버 돌리기 (배포) (0) 2022.04.14 <IDE> 파이참에서 실행 버튼(run)이 사라졌어요! (0) 2022.03.11 <Yarn> Yarn vs NPM 비교 (특징, 사용법 등) (0) 2022.02.19 <VS Code> 단축키 정리 (0) 2021.10.04