Git

[Git] git push ์‹œ, 403 ์—๋Ÿฌ ( ํ† ํฐ์„ ์ž…๋ ฅํ–ˆ๋Š”๋ฐ๋„ ... )

junnnhhh 2026. 4. 22. 11:53
728x90

๐Ÿ’ฃ ์ƒํ™ฉ

k8s๋ฅผ ๊ณต๋ถ€ํ•˜๊ณ  md ํŒŒ์ผ์„ push ํ•˜๋ ค๊ณ  ํ•˜๋Š” ์ค‘

C:\Users\junnnhhh\Desktop\junnnhhh\junnnhhh.github.io>git push Username for 
'https://github.com': junnnhhh Password for 'https://junnnhhh@github.com': 
remote: Permission to Junnnhhh/junnnhhh.github.io.git denied to Junnnhhh. 
fatal: unable to access 'https://github.com/Junnnhhh/junnnhhh.github.io.git/':
The requested URL returned error: 403

 

๋ถ„๋ช… ๋ฐœ๊ธ‰๋ฐ›์€ ํ† ํฐ์„ ์ž…๋ ฅํ–ˆ๋Š”๋ฐ๋„ ์œ„์™€ ๊ฐ™์€ ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค.

 

์›์ธ์„ ์ถ”๋ ค๋ณด๋‹ˆ

1. ์ง€๊ธˆ ์ธ์ฆ๋œ ๊ณ„์ •๊ณผ ๋ ˆํฌ์ง€ํ† ๋ฆฌ ์†Œ์œ  ๊ณ„์ •์ด ๋งž์ง€ ์•Š์Œ.

2. ํ† ํฐ ๊ถŒํ•œ ๋ถ€์กฑ.


โœ… ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•

github → Settings → Developer Settings → Personal access tokens → Fine-grained personal tokens ์ ‘์†

ํ† ํฐ์„ ์ƒˆ๋กœ ๋งŒ๋“ค๊ฑฐ๋‚˜ ๋ณ€๊ฒฝํ•˜๋ฉด ๋˜๋Š”๋ฐ, ์ด ๋•Œ

`Add permissions`๋ฅผ ๋ˆŒ๋Ÿฌ์„œ Contents ํ•ญ๋ชฉ์„ ์ถ”๊ฐ€ํ•œ ๋’ค, Read and write๋ฅผ ํ•˜๋ฉด ๋œ๋‹ค.

์ดํ›„ ์ƒ๋‹จ์— `Regenerate tokens`๋ฅผ ํ†ตํ•ด ํ† ํฐ์„ ๋‹ค์‹œ ๋ฐ›์•„์„œ ์ž…๋ ฅํ•˜๋ฉด ์ •์ƒ push๊ฐ€ ๋œ๋‹ค.

728x90

'Git' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

[Git] Author identity unknown  (0) 2026.04.20