1. ๋ฐœ์ƒ ์ƒํ™ฉ

Mac ์•ˆ๋“œ๋กœ์ด๋“œ ์ŠคํŠœ๋””์˜ค์—์„œ Private ํ”„๋กœ์ ํŠธ๋ฅผ Pullํ•˜๋Š” ์ƒํ™ฉ์—์„œ ํ•ด๋‹น ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค.

unable to read askpass response from 'ํ”„๋กœ์ ํŠธ ๊ฒฝ๋กœ' 
could not read Username for 'https://github.com': Device not configured

 

 

2. ๋ฐœ์ƒ ์›์ธ

This commonly happens in an environment where you are invoking git from some sort of gui tool and no appropriate credentials helper has been configured.

๋ฒˆ์—ญ์„ ํ•ด๋ณด๋ฉด GUI๋„๊ตฌ์—์„œ Git์„ ํ˜ธ์ถœํ•˜๊ณ  ์ ์ ˆํ•œ ์ž๊ฒฉ ์ฆ๋ช… ๋„์šฐ๋ฏธ๊ฐ€ ๊ตฌ์„ฑ๋˜์ง€ ์•Š์€ ํ™˜๊ฒฝ์—์„œ ์ผ๋ฐ˜์ ์œผ๋กœ ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ๋Š” ์—๋Ÿฌ๋ผ๊ณ  ํ•œ๋‹ค.

 

 

3. ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•

1. Android Preference > Version Control > GitHub

 

์•ˆ๋“œ๋กœ์ด๋“œ ํ”„๋กœ์ ํŠธ์— ์—ฐ๊ฒฐํ•ด ๋†“์€ ๊ณ„์ •์„ ํ™•์ธํ•ด ๋ณด๋‹ˆ, ์ด ์ „์— ๋ฐœ๊ธ‰๋ฐ›์€ Token์ด ๋งŒ๋ฃŒ๋˜์–ด์„œ Bad Credencial ํ‘œ์‹œ๊ฐ€ ๋˜์–ด ์žˆ์—ˆ๋‹ค. ๊ทธ๋ž˜์„œ ์ผ๋‹จ Git ๊ณ„์ •์„ ๋‹ค์‹œ ๋“ฑ๋กํ•˜๊ณ  ์ฒดํฌ ์•„์ด์ฝ˜์œผ๋กœ Default ๊ณ„์ • ์„ค์ •์„ ํ•ด์คฌ๋‹ค.

 



 

2. Android Preference > Version Control > Git

 

ํ•˜๋‹จ์— ์žˆ๋Š” Use credential helper ๋ฅผ ์ฒดํฌํ•ด์คฌ๋‹ค. ์•ˆ๋“œ๋กœ์ด๋“œ ์ŠคํŠœ๋””์˜ค๋ฅผ ์žฌ์‹คํ–‰ํ•˜๊ณ  ํ”„๋กœ์ ํŠธ๋ฅผ ์ •์ƒ์ ์œผ๋กœ PULLํ•  ์ˆ˜ ์žˆ์—ˆ๋‹ค.

 

 


์ฐธ๊ณ ์ž๋ฃŒ

https://stackoverflow.com/questions/40274484/fatal-could-not-read-username-for-https-github-com-device-not-configured

+ Recent posts