[Github] HTTPS๋ฅผ ํตํ username/password ๋ฐฉ์ ์ธ์ฆ์ ์ง์ํ์ง ์๋๋ค
Support for password authentication was removed on August 13, 2021. remote: Please see https://docs.github.com/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
1. https://github.com/settings/tokens ๋ก ์ด๋
2. Generate new Token ํด๋ฆญ
3. Git on MacBook / ๋ง๋ฃ ๊ธฐ๊ฐ ์ ํ / repo์ฒดํฌ (์ ์ฒด ์ ์ฅ์ ์ ๊ทผ ์ํด)
4. ์์ฑ ํ ํ ํฐ์ ๋ณต์ฌ
1. SSHํค ์์ฑ(์ด๋ฏธ ์๋ค๋ฉด ์๋ต)
ssh-keygen -t ed25519 -C "email"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519
2. ๊ณต๊ฐํค ๋ณต์ฌ
pbcopy < ~/.ssh/id_ed25519.pub
3. Github์ ๋ฑ๋ก
https://github.com/settings/key์ ssh key ๋ฑ๋ก
4. origin์ SSH URL๋ก ๋ณ๊ฒฝ
git remote set-url origin git@github.com:USERNAME/REPO.git
5. ssh ์ฐ๊ฒฐ ํ ์คํธ
ssh -T git@github.com
(1) SSH over HTTPSํฌํธ 443 ์ฌ์ฉ
ssh -T -p 443 git@ssh.github.com
(2) ๋ฆฌ๋ชจํธ ์ฃผ์ ๋ฐ๊พธ๊ธฐ
git remote set-url origin ssh://git@ssh.github.com:443/USERNAME/REPO.git
| [Git] branch : ๋ก์ปฌ, ๋ฆฌ๋ชจํธ, ํธ๋ํน ๋ธ๋์น (1) | 2025.08.09 |
|---|---|
| [UML] ์ํ์ค ๋ค์ด์ด๊ทธ๋จ (with Mermaid) (0) | 2025.07.26 |
| [๊ทธ๋ผํ๋] ๊ทธ๋ผํ๋ ๊ธฐ๋ณธ์ ์ธ ์ฌ์ฉ๋ฒ : ๋ฑ๋ก, ๋์๋ณด๋ ๊ตฌ์ฑ (0) | 2025.03.20 |
| [Slack] Slack๊ณผ Github, Jira ์ฐ๋ (0) | 2025.01.09 |
| [Jira] Epic, Story, Bug, Task ๊ด๊ณ | Jira ์ Github ์ฐ๋ํ๊ธฐ (0) | 2025.01.07 |