TECH

[git] The requested URL returned error: 403

ttaerrim 2021. 7. 28. 17:10

git์— push๋ฅผ ๋‚ ๋ฆด ๋•Œ ์ด๋Ÿฐ ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ–ˆ์Šต๋‹ˆ๋‹ค.

remote: Password authentication is temporarily disabled as part of a brownout. Please use a personal access token instead.
remote: Please see https://github.blog/2020-07-30-token-authentication-requirements-for-api-and-git-operations/ for more information.
fatal: unable to access 'https://github.com/ttaerrim/<my_repository>.git/': The requested URL returned error: 403

 

 

git remote set-url origin ์„ธํŒ…์„ ๋‹ค์‹œ ํ–ˆ๋Š”๋ฐ๋„ ๊ฐ™์€ ์˜ค๋ฅ˜๊ฐ€ ๋‚˜์„œ ๊ตฌ๊ธ€๋งํ•˜๋˜ ๋„์ค‘ ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•์„ ์ฐพ์•˜์Šต๋‹ˆ๋‹ค.

 

๋งฅ์˜ ๊ฒฝ์šฐ, ํ‚ค์ฒด์ธ ์ ‘๊ทผ-๋กœ๊ทธ์ธ์—์„œ github๋ฅผ ๊ฒ€์ƒ‰ํ•˜๊ณ  ๋ชจ๋“  ํ•ญ๋ชฉ์„ ์‚ญ์ œํ•˜์„ธ์š”.

 

git push ๋ช…๋ น์–ด๋ฅผ ๋‹ค์‹œ ์ž…๋ ฅํ•˜๋ฉด ๊นƒํ—ˆ๋ธŒ ์„ค์ •์„ ๋‹ค์‹œ ํ•œ ํ›„, ์„ฑ๊ณต์ ์œผ๋กœ push๋ฉ๋‹ˆ๋‹ค.

 

 

์œˆ๋„์šฐ์˜ ๊ฒฝ์šฐ ์ž๊ฒฉ ์ฆ๋ช… ๊ด€๋ฆฌ์ž์—์„œ ์•„๋ž˜ ๋งํฌ๋ฅผ ์ฐธ๊ณ ํ•˜์—ฌ ํ•ด ๋ณด์‹œ๋ฉด ๋  ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค. (์ €๋Š” ์•ˆ ํ•ด ๋ด„)

 

 

์ฐธ๊ณ  ์ž๋ฃŒ

 

Password authentication is temporarily disabled as part of a brownout. Please use a personal access token instead

I was using a username password for pushing my code. It was working for several months, but suddenly I'm not able to do it and am getting this error: Username for 'https://github.com': shreyas-jadhav

stackoverflow.com