Skip to main content
Troubleshooting

๐Ÿ’€Github์œผ๋กœ Push ์˜ค๋ฅ˜

remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.

About 2 minGithubTroubleshootingtroubleshootinggitgit-clihttpcredentialsgit-credentialsbash
Basics

๊ธฐ๋ณธ ๋ช…๋ น์–ด

์ €์žฅ์†Œ (repository) ๊ด€๋ฆฌ

๋ช…๋ น์–ด ์„ค๋ช…
git remote -vv ๐Ÿ”Ž๋กœ์ปฌ์— ๋“ฑ๋ก ๋œ ์›๊ฒฉ์ €์žฅ์†Œ ์ •๋ณด ์กฐํšŒ
git remote add <์ €์žฅ์†Œ ๋ณ„์นญ> <์ €์žฅ์†Œ ์ฃผ์†Œ> ๐Ÿ“Œ๋กœ์ปฌ์— ์›๊ฒฉ์ €์žฅ์†Œ ์ •๋ณด๋“ฑ๋ก
git remote rename <์ €์žฅ์†Œ ๋ณ„์นญ> <์ƒˆ ์ €์žฅ์†Œ ๋ณ„์นญ> ๐Ÿ“๋กœ์ปฌ์— ๋“ฑ๋ก ๋œ ์›๊ฒฉ์ €์žฅ์†Œ ๋ณ„์นญ ์ˆ˜์ •
git remote set-url <์ €์žฅ์†Œ ๋ณ„์นญ> <์ƒˆ ์ €์žฅ์†Œ ์ฃผ์†Œ> ๐Ÿ“๋กœ์ปฌ์— ๋“ฑ๋ก ๋œ ์›๊ฒฉ์ €์žฅ์†Œ ์ฃผ์†Œ ์ˆ˜์ •
git fetch <์ €์žฅ์†Œ ๋ณ„์นญ> ๐Ÿ”„(๋กœ์ปฌ์— ๋“ฑ๋ก ๋œ) ์›๊ฒฉ์ €์žฅ์†Œ ์ƒํƒœ ๋™๊ธฐํ™”
git fetch --all ๐Ÿ”„(๋กœ์ปฌ์— ๋“ฑ๋ก ๋œ) ๋ชจ๋“  ์›๊ฒฉ์ €์žฅ์†Œ ์ƒํƒœ ๋™๊ธฐํ™”
git pull <์ €์žฅ์†Œ ๋ณ„์นญ> <๋ธŒ๋žœ์น˜ ๋ช…> โฌ(์ง€์ •ํ•œ ๋ธŒ๋žœ์น˜๋กœ) push ๋œ commit ๋ชฉ๋ก ๊ฐ€์ ธ์˜ค๊ธฐ (์›๊ฒฉ > ๋กœ์ปฌ)
git push <์ €์žฅ์†Œ ๋ณ„์นญ> <๋ธŒ๋žœ์น˜ ๋ช…> โซ(์ง€์ •ํ•œ ๋ธŒ๋žœ์น˜์—์„œ) ๋กœ์ปฌ์—์„œ ์ž‘์—…ํ•œ commit ๋ชฉ๋ก push ํ•˜๊ธฐ

Less than 1 minuteGitBasicsgitgit-clibashterminalwindows-terminaltortoisegitgit-remotegit-branchgit-fetchgit-pullgit-pushgit-checkoutgit-resetgit-mergegit-rebasegit-statusgit-addgit-commitgit-loggit-stash
References

Cheatsheet(s)


About 4 minGitReferencesgitgithubgit-cli
Youtube


Less than 1 minuteGitYoutubeyoutubegitgit-clihttpcredentialsgit-credentialsbash@glich.stream@Github@Gitkraken@Atlassian@themoderncoder