Git
[Git] Sourcetree Fatal: could not read username for 에러 해결법
니용
2021. 11. 8. 17:26
반응형
git + sourcetree로 작업을 할 때 기능별 release를 생성해 작업하는 도중 에러가 발생하였습니다.
해당 작업이 완료되면 '깃 플로우'기능을 사용해 기능마무리 및 자동 develop브랜치에 머지하면서 삭제하는데 해당 작업을 할 때 다음과 같은 에러가 발생하였습니다.
Fatal: could not read username for 'https //jypark@github.com' device not configured
sourcetree Fatal: Could not fetch release/#297 from origin.
해결책
소스트리에서 아래의 터미널을 클릭
터미널에서 다음 순서대로 입력합니다.
$ git config credential.helper
osxkeychain
$ git config credential.helper sourcetree
$ git config credential.helper
sourcetree
그러면 마지막으로 'sourcetree'를 볼 수 있는데, 여기서 터미널 종료하고 깃플로우의 기능 마무리 작업을 하면 정상적으로 처리 되는 것을 볼 수 있습니다.
출처: https://brocess.tistory.com/288 [행복한디벨로퍼]
반응형