[Git] ํน์ ํ๋ก์ ํธ์์ ๊นํ๋ธ ๊ณ์ ๋ค๋ฅด๊ฒ ์ค์ ํ๋ ๋ฒ
ยท
Git
๋ฌธ์ ํ์ฌ์์ ์งํํ๊ณ ์๋ A ํ๋ก์ ํธ๋ ๊นํ๋ธ ํ์ฌ ๊ฐ์ธ ๊ณ์ ์ ์ฐ๊ฒฐ๋์ด์๋ค.๊ฐ์ธ ํ๋ก์ ํธ๋ฅผ ์งํํ๊ธฐ ์ํด B ํ๋ก์ ํธ๋ฅผ ์๋กญ๊ฒ ๋ง๋ค์ด ๊ฐ์ธ ๊ณ์ ์ ์ฐ๊ฒฐํ๊ณ ์ถ์๋ค.๊ฐ์ธ ๊ณ์ ์ repo๋ฅผ ๋ง๋ ๋ค remote ์ฐ๊ฒฐ์ ํ๋๋ฐ push ํ๋ ์๋ฌ๊ฐ ๋ฐ์ํ๋ค.ํด๊ฒฐ ๋จ๊ณ 1. ํ์ฌ git ์ ์ฅ์์ ๋ฑ๋ก๋์ด ์๋ ์ด๋ฉ์ผ๊ณผ ๊ณ์ ์ด๋ฆ ํ์ธ$ git config --listuser@user-MacBookPro project-name % git config --listcredential.helper=osxkeychainuser.name=b-git-usernameuser.email=b-git-username@gmail.comcredential.helper=osxkeychaincore.repositoryformatve..