Skip to content

Latest commit

ย 

History

History
20 lines (16 loc) ยท 1.19 KB

README.md

File metadata and controls

20 lines (16 loc) ยท 1.19 KB

ํŽ˜์–ดํ”„๋กœ๊ทธ๋ž˜๋ฐํ•˜๋ฉฐ ๊ฐ์ž ๊ณ„์ •์œผ๋กœ ์ปค๋ฐ‹๋กœ๊ทธ ์ฐ๊ธฐ

Pair programming with git

  1. ๊ฐ์ž์˜ ๊ณ„์ •์œผ๋กœ ๋ฏธ์…˜ ์ €์žฅ์†Œ Fork
  2. A โžก ๋ณธ์ธ์˜ ๋กœ์ปฌ์— Forkํ•œ ์ €์žฅ์†Œ๋ฅผ clone git clone 'A์˜ ์ €์žฅ์†Œ์ฃผ์†Œ'
  3. B โžก ๋ณธ์ธ์˜ ๋กœ์ปฌ์— Forkํ•œ ์ €์žฅ์†Œ๋ฅผ clone git clone 'B์˜ ์ €์žฅ์†Œ์ฃผ์†Œ'
  4. A โžก ๋กœ์ปฌ์—์„œ ์ฝ”๋“œ๋ฅผ ์ž‘์„ฑํ•˜๊ณ  ์ปค๋ฐ‹
  5. A โžก ๋กœ์ปฌ์—์„œ ์ž‘์—…ํ•œ ๋‚ด์šฉ์„ ๋ณธ์ธ์˜ ์ €์žฅ์†Œ๋กœ push git push origin 'A์˜ ๋ฏธ์…˜ ๋ธŒ๋žœ์น˜'
  6. B โžก A์˜ ์ €์žฅ์†Œ๋ฅผ remote๋กœ ๋“ฑ๋ก git remote add pair 'A์˜ ์ €์žฅ์†Œ์ฃผ์†Œ'
  7. B โžก A๊ฐ€ ์ž‘์—…ํ•œ ๋‚ด์šฉ ๊ฐ€์ ธ์˜ค๊ธฐ git pull pair 'A์˜ ๋ฏธ์…˜ ๋ธŒ๋žœ์น˜'
  8. B โžก ๋กœ์ปฌ์—์„œ ์ฝ”๋“œ๋ฅผ ์ž‘์„ฑํ•˜๊ณ  ์ปค๋ฐ‹
  9. B โžก ๋กœ์ปฌ์—์„œ ์ž‘์—…ํ•œ ๋‚ด์šฉ์„ ๋ณธ์ธ์˜ ์ €์žฅ์†Œ๋กœ push git push origin 'B์˜ ๋ฏธ์…˜ ๋ธŒ๋žœ์น˜'
  10. A โžก B์˜ ์ €์žฅ์†Œ๋ฅผ remote๋กœ ๋“ฑ๋ก git remote add pair 'B์˜ ์ €์žฅ์†Œ์ฃผ์†Œ'
  11. A โžก B๊ฐ€ ์ž‘์—…ํ•œ ๋‚ด์šฉ ๊ฐ€์ ธ์˜ค๊ธฐ git pull pair 'B์˜ ๋ฏธ์…˜ ๋ธŒ๋žœ์น˜'
  12. 4 ~ 11 ๋ฐ˜๋ณต

[TOP] | [HOME]