๐Ÿ’ก ๊ธฐ๋ณธ

์„ค์ • ์ดˆ๊ธฐํ™”

git config --global user.name 'Your name'
git config --global user.email 'Your email address'

git ์—ฐ๋™ํ•œ๋‹ค

git init
git remote add origin [์ฃผ์†Œ]
git pull origin [๋ธŒ๋žœ์น˜]
git checkout [๋ธŒ๋žœ์น˜] // ํ˜„์žฌ ๋ธŒ๋žœ์น˜ ๋ฐ”๊พธ๊ธฐ

git push ํ•˜๊ธฐ

git add .
git commit -m "change message"
git push -u origin [๋ธŒ๋žœ์น˜]
git push

git ํด๋ก ํ•˜๊ธฐ

git clone [url]

git remote ์‚ญ์ œ

git remote rm origin

git ์ดˆ๊ธฐํ™”

  1. ๋กœ์ปฌ์— ์กด์žฌํ•˜๋Š” .git ๋””๋ž™ํ† ๋ฆฌ๋ฅผ ์‚ญ์ œํ•œ๋‹ค.