ÀÌÁ¦ º¯°æ»çÇ×À» ±êÇãºê¿¡ ¿Ã·Áº¸ÀÚ.
¿Ã¸®±â Àü¿¡ github¿¡ repository¸¦ ¸¸µé¾î¾ß ÇÑ´Ù. repository´Â ±×³É ÀúÀå¼Ò¶ó°í »ý°¢ÇÏ¸é µÈ´Ù. github¿¡ Á¢¼ÓÇؼ »õ·Î¿î repository¸¦ ¸¸µç´Ù. repository ÆäÀÌÁö¿¡¼ new¹öÆ°À» ´©¸£¸é µÈ´Ù.
repository nameÀ» ÀÔ·ÂÇÏ°í °ø°³¿Í ºñ°ø°³ Áß¿¡ ¼±ÅÃÇÑ´Ù.
publicÀº °ø°³ private´Â ºñ°ø°³´Ù. publicÀ» ¼±ÅÃÇÏ¸é ¾Æ¹«³ª º¼ ¼ö ÀÖ´Ù.
repository¸¦ ¸¸µé¸é ¾Æ·¡¿Í °°ÀÌ µÎ°¡Áö ¹æ¹ýÁß Çϳª¸¦ ÅÃÇؼ ·ÎÄÃ(³» ÄÄÇ»ÅÍ)°ú ¿ø°ÝÀúÀå¼Ò¸¦ ¿¬°áÇÒ ¼ö ÀÖ´Ù.
¡¦or create a new repository on the command line
echo "# test" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin git@github.com:dolljong/test.git
git push -u origin main
¡¦or push an existing repository from the command line
git remote add origin git@github.com:dolljong/test.git
git branch -M main
git push -u origin main
ù¹ø° command line ¸í·ÉµéÀº ³» ÄÄÇ»ÅÍ¿¡¼ git initµµ ¾ÈÇÏ°í ¾Æ¹«°Íµµ ¾ÈÇßÀ» ¶§ Àû¿ëÇÑ´Ù. Áï ¿ø°ÝÀúÀå¼Ò¿¡¼ repository¸¦ ¸ÕÀú ¸¸µé°í ³» ÄÄ¿¡¼ »õ repository¸¦ ¸¸µé¾úÀ» ¶§ Àû¿ëÇÏ´Â ¸í·ÉµéÀÌ´Ù. °£´ÜÇÏ°Ô ¼³¸íÇϸé echo ¸í·ÉÀ¸·Î readme.mdÆÄÀÏÀ» ¸¸µç´Ù. ±×¸®°í git init·Î ÃʱâÈ ÇÑ´Ù. git add readme.md·Î readme.md ÆÄÀÏÀ» ½ºÅ×ÀÌ¡ÇÑ´Ù. git commit -m "first commit"À¸·Î Ä¿¹ÔÇÑ´Ù. ±×¸®°í git branch -M main´Â mainÀ̶ó´Â ºê·£Ä¡¸¦ ¸¸µå´Ù.
±× ´ÙÀ½ÀÌ ³» ÄÄ°ú ±êÇãºê¸¦ ¿¬°áÇÏ´Â ¸í·ÉÀÌ´Ù. dolljongÀº ±êÇãºê ¾ÆÀ̵ð, test°¡ repositoryÀ̸§ÀÌ´Ù.
git@github.com:dolljong/test.git