Skip to content

SMWUUMC/Spring_a

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 

Repository files navigation

๐Ÿ’ปย UMC SpringBoot Study โœ๏ธ

๐Ÿ“ฅย ํ”„๋กœ์ ํŠธ ์‹œ์ž‘ํ•˜๊ธฐ

  • ์ž์‹ ์ด ์›ํ•˜๋Š” ์œ„์น˜์— ์ž์‹ ์˜ ํŒŒํŠธ ๋ ˆํŒŒ์ง€ํ† ๋ฆฌ ์ค‘ ์ž์‹ ์˜ ๊นƒํ—ˆ๋ธŒ ๋‹‰๋„ค์ž„ branch๋ฅผ ํด๋ก ํ•ด์ค๋‹ˆ๋‹ค

    ๐Ÿ–ฅ๏ธย git clone -b {๋ธŒ๋žœ์น˜์ด๋ฆ„} โ€”-single-branch {์ €์žฅ์†Œ url}

    ps. ์ž‘์—… ๋„์ค‘ ์ƒ๊ธธ ๋ฌธ์ œ๋ฅผ ๋Œ€๋น„ํ•ด์„œ ์ €ํฌ๋Š” ๋ณธ์ธ์˜ ๋ธŒ๋žœ์น˜๋งŒ ํด๋ก  ๋ฐ›๋Š” ๋ฐฉ์‹์œผ๋กœ ์ง„ํ–‰ํ•˜๋ ค ํ•ฉ๋‹ˆ๋‹ค. ํ•˜์ง€๋งŒ ๋‚˜์ค‘์— ํ”„๋กœ์ ํŠธ๋ฅผ ์ง„ํ–‰ํ•  ๋•Œ๋Š” main branch๋ฅผ ํด๋ก  ๋ฐ›์•„, ํŠน์ • branch์—์„œ ์ž‘์—…ํ•˜๋Š” ๋ฐฉ์‹์œผ๋กœ ์ง„ํ–‰์ด ๋  ๊ฒƒ์ž…๋‹ˆ๋‹ค. ์ด๋•Œ์—๋Š” ๋ฐ˜๋“œ์‹œ main branch๊ฐ€ ์•„๋‹Œ ์ž์‹ ์ด ์ž‘์—…ํ•˜๊ธฐ๋กœํ•œ branch์—์„œ๋งŒ ์ž‘์—…ํ•˜์…”์•ผ ํ•ฉ๋‹ˆ๋‹คโ€ผ๏ธ

  • ์ž์‹ ์˜ ๊นƒํ—ˆ๋ธŒ ๋‹‰๋„ค์ž„ ํด๋” ๋‚ด๋ถ€๋ฅผ ๊ฒฝ๋กœ๋กœ ๋ฏธ์…˜ ์ง„ํ–‰ํ•˜์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค

๐Ÿ“Œย commit ํ•˜๊ธฐ

  • ํŒŒํŠธ ๋ณ„๋กœ ์ž‘์—…์„ ๋๋ƒˆ๊ฑฐ๋‚˜ ๋” ์ž‘์€ ๋‹จ์œ„๋กœ ์ž‘์—…์„ ๋๋‚ผ ๋•Œ๋งˆ๋‹ค add ํ›„์— commit์„ ํ•ด ์ฃผ๋Š” ๊ฒŒ ์ข‹์•„์š”

  • ๋ฐ˜๋“œ์‹œ ์ž์‹ ์˜ ๋ธŒ๋žœ์น˜์—์„œ๋งŒ commit์„ ํ•ด์ฃผ์„ธ์š”โ€ผ๏ธ

  • commit ํ˜•์‹

    • [Feat]: ์ƒˆ๋กœ์šด ๊ธฐ๋Šฅ ์ถ”๊ฐ€
    • [Fix]: ๋ฒ„๊ทธ ์ˆ˜์ •
    • [Docs]: ๋ฌธ์„œ ์ˆ˜์ •
    • [Style]: ์ฝ”๋“œ ํฌ๋งทํŒ…, ์„ธ๋ฏธ์ฝœ๋ก  ๋ˆ„๋ฝ, ์ฝ”๋“œ ๋ณ€๊ฒฝ์ด ์—†๋Š” ๊ฒฝ์šฐ
    • [Refactor]: ์ฝ”๋“œ ๋ฆฌํŽ™ํ† ๋ง
    • [Test]: ํ…Œ์ŠคํŠธ ์ฝ”๋“œ, ๋ฆฌํŽ™ํ† ๋ง ํ…Œ์ŠคํŠธ ์ฝ”๋“œ ์ถ”๊ฐ€
    • [Chore]: ๋นŒ๋“œ ์—…๋ฌด ์ˆ˜์ •, ํŒจํ‚ค์ง€ ๋งค๋‹ˆ์ € ์ˆ˜์ •

    ๐Ÿ–ฅ๏ธย git add ์ž์‹ ์ด ์ˆ˜์ •ํ•œ ํŒŒ์ผ๋ช…

    ๐Ÿ–ฅ๏ธย git commit -m โ€œ[Feat(๋‹‰๋„ค์ž„/์ด๋ฆ„)] ใ…‡ใ…‡๊ธฐ๋Šฅ ์ถ”๊ฐ€โ€

๐Ÿ“คย Github ๋ ˆํŒŒ์ง€ํ† ๋ฆฌ์— ์ ์šฉํ•˜๊ธฐ

  • ํ•ด๋‹น ์ฃผ์ฐจ์˜ ๊ฐ•์˜๋ฅผ ๋“ฃ๊ฑฐ๋‚˜ ์ž‘์—…์„ ๋ชจ๋‘ ๋๋ƒˆ๋‹ค๋ฉด, ํ”„๋กœ์ ํŠธ ๋ณ€๊ฒฝ ์‚ฌํ•ญ์„ remote repository(github repository)์— push ํ•ฉ๋‹ˆ๋‹ค.

    ๐Ÿ–ฅ๏ธย git push origin ๋ณธ์ธ์˜ ๋ธŒ๋žœ์น˜๋ช…(๊นƒํ—ˆ๋ธŒ ๋‹‰๋„ค์ž„)

  • push๋ฅผ ์™„๋ฃŒํ–ˆ๋‹ค๋ฉด ์Šคํ„ฐ๋”” repository์—์„œ pull request๋ฅผ ์ง„ํ–‰ํ•ฉ๋‹ˆ๋‹ค

    (์ž์‹ ์˜ ๋ธŒ๋žœ์น˜์— push ํ›„์— github ํŽ˜์ด์ง€ ๋“ค์–ด์˜ค๋ฉด ์•„๋งˆ ๋œฐ๊ฑฐ์—์š”!)

  • PR(Pull Request)์‹œ ๋ฉ”์„ธ์ง€ ์ œ๋ชฉ์€ ๋‹ค์Œ๊ณผ ๊ฐ™์ดย [์ด๋ฆ„/๋‹‰๋„ค์ž„] ใ…‡์ฃผ์ฐจ ์ •๋ฆฌ๋‚ด์šฉ ์ œ์ถœ.ย ๋ผ๊ณ  ์ ์€ ํ›„ย create pull requestย ๋ฒ„ํŠผ์„ ๋ˆŒ๋Ÿฌ์ฃผ์„ธ์š”

  • PR :ย base: [master]ย <-ย compare: [๋ณธ์ธ github ์•„์ด๋””]

โค๏ธย ๋ณธ์ธ์˜ ํด๋”์•ˆ์— ์žˆ๋Š” README.md ํŒŒ์ผ์€ ์ž์œ ๋กญ๊ฒŒ ์‚ฌ์šฉํ•ด์ฃผ์„ธ์š”๐Ÿ™‚

โ€ผ๏ธย ๋ณธ์ธ์˜ ํด๋”์™€ ๋™์ผํ•œ ์œ„์น˜์— ์žˆ๋Š” README.md ํŒŒ์ผ์€ ๐Ÿšซ์ ˆ๋Œ€ ์ˆ˜์ •๐Ÿšซํ•˜์ง€ ๋ง์•„์ฃผ์„ธ์š”

โค๏ธย ๊นƒ์„ ์‚ฌ์šฉํ•˜๋ฉฐ ์˜ค๋ฅ˜๊ฐ€ ๋‚˜๊ฑฐ๋‚˜ ์ง„ํ–‰์ด ์•ˆ๋˜๋”๋ผ๋„ ํ˜ผ์ž ์Šค์Šค๋กœ ๊ตฌ๊ธ€๋ง ํ•ด๋ณด๋ฉฐ ํ•ด๊ฒฐํ•ด๋ณด์„ธ์š”!

โค๏ธย ๊นƒ ์‚ฌ์šฉ๋ฒ• ์ฐธ๊ณ ) https://umc-smwu.notion.site/Git-2aea3e9a04724a08881b8e61e306e5b1

About

UMC 6th Sookmyung Women's University

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •