๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
๋ฐ˜์‘ํ˜•

Git & GitHub10

Git Sqaush๋กœ ์—ฌ๋Ÿฌ ๊ฐœ์˜ Commit logs ํ•ฉ์น˜๊ธฐ(Git Rebase) ๐Ÿ“Ž Git Sqaush๋กœ ์—ฌ๋Ÿฌ ๊ฐœ์˜ Commit logs ํ•ฉ์น˜๊ธฐ(Git Rebase) ์•ˆ๋…•ํ•˜์„ธ์š”, ์ด๋ฒˆ ํฌ์ŠคํŒ…์—์„œ๋Š” ์—ฌ๋Ÿฌ ์ปค๋ฐ‹๋“ค์„ ํ•˜๋‚˜๋กœ ๋ฌถ๋Š” ๋ฐฉ๋ฒ•์— ๋Œ€ํ•ด ์‚ดํŽด๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค. ๋ณดํ†ต git์„ ์‚ฌ์šฉํ•˜๋‹ค๋ณด๋ฉด ๋ถˆํ•„์š”ํ•˜๊ฒŒ ์ปค๋ฐ‹์„ ํ•ด์•ผ ํ•˜๋Š” ๊ฒฝ์šฐ๊ฐ€ ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. (์˜ˆ๋ฅผ ๋“ค๋ฉด.. ๊ฐœ๋ฐœ ์„œ๋ฒ„์—์„œ ํ…Œ์ŠคํŠธ๋ฅผ ์œ„ํ•ด ์ฟผ๋ฆฌ๋‚˜ ๋ฐ์ดํ„ฐ ์กฐ์ž‘๋“ฑ์˜ ๋ถˆํ•„์š”ํ•œ ์˜ˆ์‹œ๊ฐ€ ์žˆ๊ฒ ์Šต๋‹ˆ๋‹ค.) ๋ฌดํŠผ, ์ด๋Ÿฌํ•œ ํ…Œ์ŠคํŠธ๋ฅผ ์ง„ํ–‰ํ•˜๋ ค๋ฉด ํ…Œ์ŠคํŠธ commit - ๋กค๋ฐฑ commit์œผ๋กœ ์ตœ์†Œ 2๋ฒˆ ์ด์ƒ ๋ถˆํ•„์š”ํ•œ ์ปค๋ฐ‹์„ ์ง„ํ–‰ํ•˜๊ฒŒ ๋ฉ๋‹ˆ๋‹ค. ์ด ๋•Œ, Git Squash๋ฅผ ํ†ตํ•ด ๋ถˆํ•„์š”ํ•œ ์ปค๋ฐ‹ ๋กœ๊ทธ๋ฅผ ํ•˜๋‚˜๋กœ ๋ฌถ์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋˜ํ•œ Squash ๊ธฐ๋Šฅ์„ ์‚ฌ์šฉํ•˜๊ธฐ ์œ„ํ•ด Git Rebase๋ฅผ ์‚ฌ์šฉํ•ด์•ผ ํ•˜๋Š”๋ฐ์š”, ์ด๋Ÿฌํ•œ ๊ธฐ๋Šฅ์„ ํ™œ์šฉํ•˜์—ฌ ์ด๋ ฅ์„ ๋ณด๋‹ค ๊น”๋”ํ•˜๊ฒŒ ์ •๋ฆฌํ•˜๋Š” ๋ฐฉ๋ฒ•์— ๋Œ€ํ•ด.. 2022. 9. 15.
Github ๋ ˆํฌ์ง€ํ† ๋ฆฌ ์ปค๋ฐ‹ ์ด๋ ฅ ์œ ์ง€ํ•œ ์ฑ„ ๋‹ค๋ฅธ ๋ ˆํฌ์ง€ํ† ๋ฆฌ์— ๋ณต์ œํ•˜๊ธฐ ๐Ÿ“Ž Github ๋ ˆํฌ์ง€ํ† ๋ฆฌ ์ปค๋ฐ‹ ์ด๋ ฅ ๋ณด๊ด€ํ•œ ์ฑ„ ๋ณต์ œํ•˜๊ธฐ ๊ธฐ์กด ๋ ˆํฌ์ง€ํ† ๋ฆฌ ๋‚ด์šฉ์„ ์ƒˆ๋กœ์šด ๋ ˆํฌ์ง€ํ† ๋ฆฌ์— ์ด๋ ฅ์„ ๊ทธ๋Œ€๋กœ ์œ ์ง€ํ•˜๋ฉด์„œ ๋ณต์ œ๋ฅผ ํ•ด์•ผ ํ•  ๋•Œ๊ฐ€ ์žˆ๋Š”๋ฐ์š”, ์ด ๋•Œ ๋‹ค์Œ๊ณผ ๊ฐ™์ด ํ•˜๋ฉด ๊ธฐ์กด ์ด๋ ฅ์„ ์œ ์ง€ํ•œ ์ฑ„ ๋ ˆํฌ์ง€ํ† ๋ฆฌ ๋ณ€๊ฒฝ์ด ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค. Design-Pattern-Study ํด๋”๊ฐ€ ๊ธฐ์กด์— ์กด์žฌํ•˜๋˜ ๋ ˆํฌ์ง€ํ† ๋ฆฌ์ด๊ณ , to ํด๋”๊ฐ€ ์ด๋™ํ•  ๋ ˆํฌ์ง€ํ† ๋ฆฌ์ž…๋‹ˆ๋‹ค. ์ฆ‰, ๊ธฐ์กด Design-Pattern-Study ๋ ˆํฌ์ง€ํ† ๋ฆฌ์˜ ์ด๋ ฅ์„ ๊ทธ๋Œ€๋กœ ๋ณด๊ด€ํ•œ ์ฑ„ to ๋ ˆํฌ์ง€ํ† ๋ฆฌ๋กœ ์˜ฎ๊ฒจ๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค. ๐Ÿฅ• ์ „์ฒด ๊ณผ์ •์„ ๋ช…๋ น์–ด๋กœ ๊ฐ„๋‹จํžˆ ๋‚˜ํƒ€๋‚ด๋ฉด ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค. // to ํด๋”๋กœ ์ด๋™ cd to // main(master) ๋ธŒ๋žœ์น˜๋กœ ๋ณ€๊ฒฝ git checkout main(master) // ๊ธฐ์กด ๋ ˆํฌ์ง€ํ† ๋ฆฌ url ์ถ”๊ฐ€ : cloneํ•  ๋•Œ ๋ณต์‚ฌ.. 2022. 9. 9.
git diff ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด ๋‘ branch์˜ ์ฐจ์ด์  ํ™•์ธํ•˜๊ธฐ ๐Ÿ“Ž git diff branch1..branch2 ์•ˆ๋…•ํ•˜์„ธ์š”, ์ด๋ฒˆ ์‹œ๊ฐ„์—๋Š” git diff ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด ๋‘ ๋ธŒ๋žœ์น˜ ์‚ฌ์ด์—์„œ ์ฐจ์ด์ ์„ ํ™•์ธํ•ด๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค. ๐Ÿ’ก ๊ฐœ์š” ๋ณดํ†ต ์ฝ”๋“œ ์ด๋ ฅ์„ ๊ด€๋ฆฌํ•˜๋Š” ๋„๊ตฌ๋กœ git, github(gitlab, bitbucket) ๋“ฑ์„ ์‚ฌ์šฉ์„ ํ•˜๋Š”๋ฐ์š”, git-flow ์ „๋žต์„ ์‚ฌ์šฉํ•˜์—ฌ main, develop, feature, hotfix ๋“ฑ์˜ ๋ธŒ๋žœ์น˜๋ฅผ ๊ด€๋ฆฌํ•˜๋‹ค ๋ณด๋ฉด ๋ธŒ๋žœ์น˜ ๊ฐ„ ์ฝ”๋“œ๊ฐ€ ๋™๊ธฐํ™”๊ฐ€ ๋˜์ง€ ์•Š์„ ๊ฒฝ์šฐ๊ฐ€ ์กด์žฌํ•ฉ๋‹ˆ๋‹ค. ๋ณดํ†ต git-flow ์ „๋žต์—์„œ ์‚ฌ์šฉ๋˜๋Š” ๋ธŒ๋žœ์น˜์— ๋Œ€ํ•œ ์ „๋žต์€ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค main(master) : ์‹ค์ œ ์ƒ์šฉ ํ™˜๊ฒฝ์— ๋ฐ˜์˜ํ•˜๋Š” ๋ธŒ๋žœ์น˜ develop : ๋‹ค์Œ ์ถœ์‹œ ๋ฒ„์ „์— ๋Œ€ํ•ด ๊ฐœ๋ฐœํ•˜๋Š” ๋ธŒ๋žœ์น˜ feature : ๊ธฐ๋Šฅ์„ ๊ฐœ๋ฐœํ•  ๋•Œ ์‚ฌ์šฉํ•˜๋Š” ๋ธŒ๋žœ์น˜ hotfix : .. 2022. 2. 27.
[GitHub] - IntelliJ Task๋กœ GitHub Issues์˜ ๋ธŒ๋žœ์น˜ ๊ฐ„๋‹จํ•˜๊ฒŒ ์ƒ์„ฑํ•˜๊ธฐ ๐Ÿ“Ž IntelliJ Task๋กœ GitHub Issues์˜ ๋ธŒ๋žœ์น˜ ๊ฐ„๋‹จํ•˜๊ฒŒ ์ƒ์„ฑํ•˜๊ธฐ ์•ˆ๋…•ํ•˜์„ธ์š”, ์ด๋ฒˆ์—๋Š” ์ธํ…”๋ฆฌ์ œ์ด์—์„œ ๊นƒํ—ˆ๋ธŒ ๋ ˆํฌ์ง€ํ† ๋ฆฌ์˜ Issues๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ๋ธŒ๋žœ์น˜๋ฅผ ๊ฐ„๋‹จํ•˜๊ฒŒ ์ƒ์„ฑํ•˜๋Š” ๋ฐฉ๋ฒ•์— ๋Œ€ํ•ด ์•Œ์•„๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค. ์ €๋Š” ๊ทธ๋™์•ˆ ๊ฐœ๋ฐœ์„ ํ•˜๋ฉด์„œ (๋ฉ์ฒญํ•˜๊ฒŒ) ๋ธŒ๋žœ์น˜๋Š” CLI๋ฅผ ํ†ตํ•ด ์ƒ์„ฑํ•˜๊ณ  ๊ด€๋ฆฌ๋ฅผ ํ–ˆ์—ˆ์Šต๋‹ˆ๋‹ค. ๐Ÿ˜‚ ํ•˜์ง€๋งŒ ์ธํ…”๋ฆฌ์ œ์ด์—์„œ๋Š” ๊นƒํ—ˆ๋ธŒ์˜ ๋ ˆํฌ์ง€ํ† ๋ฆฌ์— ์กด์žฌํ•˜๋Š” ์ด์Šˆ๋ฅผ ํ† ๋Œ€๋กœ ๋ธŒ๋žœ์น˜๋ฅผ ์ƒ์„ฑํ•˜๋Š” ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ๐Ÿ‘ IntelliJ, GitHub Repository, Repository์˜ Issues, GitHub Token ๋งŒ ์žˆ์œผ๋ฉด ๋ฉ๋‹ˆ๋‹ค. โœท Repository & Issues ์ €๋Š” task-repository ๋ผ๋Š” ์ด๋ฆ„์œผ๋กœ ๋ ˆํฌ์ง€ํ† ๋ฆฌ๋ฅผ ์ƒ์„ฑํ•ด์ฃผ์—ˆ์Šต๋‹ˆ๋‹ค. ๊ทธ ํ›„ task-repository .. 2021. 8. 18.
[Git/GitHub] - GitHub์— ์ž˜๋ชป ์˜ฌ๋ผ๊ฐ„ ํŒŒ์ผ ์ œ๊ฑฐํ•˜๊ธฐ(.gitignore) ๐Ÿ“Ž GitHub์— ์ž˜๋ชป ์˜ฌ๋ผ๊ฐ„ ํŒŒ์ผ ์ œ๊ฑฐํ•˜๊ณ  .gitignore์— ์ถ”๊ฐ€ํ•˜๊ธฐ ์ €๋Š” ํ‰์†Œ์— ์ž‘์—…์„ ํ•˜๋‹ค๊ฐ€ ์‹ค์ˆ˜๋กœ ๋ถˆํ•„์š”ํ•œ ํŒŒ์ผ๊นŒ์ง€ GitHub์— ์˜ฌ๋ฆฐ ๊ฒฝ์šฐ๊ฐ€ ์žˆ์—ˆ์Šต๋‹ˆ๋‹ค. ์˜ˆ๋ฅผ๋“ค๋ฉด ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์‚ฌํ•ญ๋“ค์ด ์กด์žฌํ•ฉ๋‹ˆ๋‹ค. NodeJS์˜ npm module Java์˜ targetํด๋” ํ•˜์œ„ ํŒŒ์ผ๋“ค(.class) ๋ฏผ๊ฐํ•œ ์ •๋ณด๋“ค(DB์ •๋ณด, AWS ๋น„๋ฐ€ ํ‚ค ๋“ฑ๋“ฑ) ํŠนํžˆ๋‚˜ ์„ธ ๋ฒˆ์งธ์˜ ๋ฏผ๊ฐํ•œ ์ •๋ณด๋“ค์„ GitHub์— ์ž˜๋ชปํ•ด์„œ ์˜ฌ๋ ธ์„ ๊ฒฝ์šฐ, ๊ฐ€๋” ํ•ด๋‹น ์ •๋ณด๋ฅผ ์ด์šฉํ•ด AWS์˜ ํญํƒ„ ๊ณผ๊ธˆ์„ ๋งž๋Š”๋‹ค๋Š” ๊ธ€์„ ๋ช‡ ๋ฒˆ ๋ณธ์ ์ด ์žˆ์—ˆ๋Š”๋ฐ์š”, ๋”ฐ๋ผ์„œ ๋” ์ฃผ์˜ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ์œ„์™€ ๊ฐ™์€ ๋‚ด์šฉ๋“ค์€ .gitignore ๋ผ๋Š” ํŒŒ์ผ์— ์ถ”๊ฐ€๋ฅผ ํ•ด์•ผํ•ฉ๋‹ˆ๋‹ค. .gitignore๋ž€ ? .gitignore๋ž€ ๊ฐ„๋‹จํžˆ ๋งํ•ด Git ๋ฒ„์ „ ๊ด€๋ฆฌ์—์„œ ์œ„์˜ ์‚ฌํ•ญ๋“ค์ฒ˜๋Ÿผ ์ œ์™ธํ•  ํŒŒ์ผ.. 2021. 7. 17.
GitHub(๊นƒํ—ˆ๋ธŒ) - ๋””๋ ‰ํ† ๋ฆฌ์— ํ™”์‚ดํ‘œ ํ‘œ์‹œ(ํด๋” ํด๋ฆญ์ด ์•ˆ๋  ๋•Œ) ๐Ÿ“Ž GitHub ๋””๋ ‰ํ† ๋ฆฌ ํ™”์‚ดํ‘œ ํ‘œ์‹œ -> ํด๋” ์ ‘๊ทผ ๋ถˆ๊ฐ€๋Šฅ ๊นƒํ—ˆ๋ธŒ์—์„œ ํ•œ ๋””๋ ‰ํ† ๋ฆฌ์— ๋‹ค๋ฅธ ๋””๋ ‰ํ† ๋ฆฌ๋ฅผ ์ถ”๊ฐ€ํ•˜๋Š” ๋„์ค‘ ์œ„์™€ ๊ฐ™์ด ๋””๋ ‰ํ† ๋ฆฌ์— ํ™”์‚ดํ‘œ ํ‘œ์‹œ๊ฐ€ ์ƒ๊ธฐ๊ณ , ๋””๋ ‰ํ† ๋ฆฌ์— ์ ‘๊ทผ์ด ๋˜์ง€์•Š๋Š” ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ–ˆ์Šต๋‹ˆ๋‹ค. ์œ„์™€ ๊ฐ™์€ ๋ฌธ์ œ๋Š” ํ•ด๋‹น ํด๋”์— .git ํด๋”๊ฐ€ ์ƒ๊ฒจ์„œ ๋ฐœ์ƒํ•˜๋Š” ๋ฌธ์ œ์ž…๋‹ˆ๋‹ค. ์œ„ ํด๋”์ค‘ ์ตœ์ƒ์œ„ ๋””๋ ‰ํ† ๋ฆฌ์— ์ด๋ฏธ .git์ด๋ผ๋Š” ํŒŒ์ผ์ด ์ƒ์„ฑ๋˜์—ˆ๋Š”๋ฐ, ํ•ด๋‹น ๋””๋ ‰ํ† ๋ฆฌ(inflearn-crawling-jsoup) ์—์„œ๋„ push๋ฅผ ์ง„ํ–‰ํ•˜๋Š” ๊ณผ์ •์— .git ํŒŒ์ผ์ด ์ƒ๊ฒจ์„œ ๋ฐœ์ƒํ•˜๋Š” ์˜ค๋ฅ˜์ž…๋‹ˆ๋‹ค. ๐Ÿ“Ž ํ•ด๊ฒฐ .git ํŒŒ์ผ ์ œ๊ฑฐ -> ์Šคํ…Œ์ด์ง€ ํŒŒ์ผ ์ œ๊ฑฐ -> add, commit, push ์ง„ํ–‰ .git ํŒŒ์ผ ์ œ๊ฑฐ ๋จผ์ € ์œ„ ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ•˜๋Š” ๋””๋ ‰ํ† ๋ฆฌ์—์„œ .git ํŒŒ์ผ์„ ์ œ๊ฑฐํ•ฉ๋‹ˆ๋‹ค. $ rm -rf .git ๋ช…๋ น์–ด๋กœ ํ•ด๋‹น.. 2021. 6. 15.
Git pull ๋ฐ›์€ ๋‚ด์—ญ rollback(๋ณต๊ตฌ) ํ•˜๊ธฐ • ์•ˆ๋…•ํ•˜์„ธ์š”~ ์ด์ „์— ์šด์˜ํ•˜๋˜ ๋ธ”๋กœ๊ทธ ๋ฐ GitHub, ๊ณต๋ถ€ ๋‚ด์šฉ์„ ์ •๋ฆฌํ•˜๋Š” Study-GitHub ๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค! • ๋„ค์ด๋ฒ„ ๋ธ”๋กœ๊ทธ • GitHub • Study-GitHub • ๐Ÿ” โœ” Git pull ๋ฐ›์€ ๋‚ด์—ญ ๋กค๋ฐฑํ•˜๊ธฐ ์ž‘์—…์„ ํ•˜๋‹ค๊ฐ€ ์‹ค์ˆ˜๋กœ ํŠน์ • ๋ธŒ๋žœ์น˜์—์„œ Merge๊ฐ€ ๋˜์ง€ ์•Š์€ main ๋ธŒ๋žœ์น˜์˜ ์ฝ”๋“œ๋ฅผ pull๋กœ ๋ฐ›์•„์™€๋ฒ„๋ ธ์Šต๋‹ˆ๋‹ค... git pull origin main Git ์‚ฌ์šฉ๋ฒ•์ด ์•„์ง ์„œํˆด์–ด์„œ ํ˜„์žฌ ์ž‘์—…์ค‘์ธ ๋ธŒ๋žœ์น˜์—์„œ main ๋ธŒ๋žœ์น˜์˜ ์†Œ์Šค๋ฅผ pull๋กœ ๋ฐ›์•„์™€๋ฒ„๋ ธ์Šต๋‹ˆ๋‹ค. ์˜ค๋ฉ”.. ์ „์— ์ž‘์—…ํ•˜๋˜ ๋‚ด์—ญ๋“ค์ด ๋‹ค ์‚ฌ๋ผ์ ธ ๋ฒ„๋ ธ๋Š”๋ฐ์š”...... ์ฐพ์•„๋ณด๋‹ˆ pull๋ฐ›์€ ๋‚ด์—ญ์„ ๋กค๋ฐฑํ•˜๋Š” ๋‚ด์šฉ์ด ์žˆ์–ด์„œ ๋‹คํ–‰์ž…๋‹ˆ๋‹ค ใ… ใ… ใ…  ๐Ÿคฃ ๋กค๋ฐฑํ•˜๋Š” ๋ฐฉ๋ฒ•์€ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค. git reflog // ๋ชจ๋“  ์ปค๋ฐ‹์˜ ๊ธฐ๋ก ํ™•์ธ gi.. 2021. 4. 19.
[Git] - git branch ๋ช…๋ น์–ด ์ •๋ฆฌ • ์•ˆ๋…•ํ•˜์„ธ์š”~ ์ด์ „์— ์šด์˜ํ•˜๋˜ ๋ธ”๋กœ๊ทธ ๋ฐ GitHub, ๊ณต๋ถ€ ๋‚ด์šฉ์„ ์ •๋ฆฌํ•˜๋Š” Study-GitHub ๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค! • ๋„ค์ด๋ฒ„ ๋ธ”๋กœ๊ทธ • GitHub • Study-GitHub • ๐Ÿ” โœ” Git branch ๋ช…๋ น์–ด ์ •๋ฆฌ ๋ธŒ๋žœ์น˜๋ž€ ? ์—ฌ๋Ÿฌ ๊ฐœ๋ฐœ์ž๋“ค์ด ๋™์‹œ์— ๋‹ค์–‘ํ•œ ์ž‘์—…์„ ํ•  ์ˆ˜ ์žˆ๊ฒŒ ๋งŒ๋“ค์–ด ์ฃผ๋Š” ๊ธฐ๋Šฅ ๋…๋ฆฝ์ ์œผ๋กœ ์–ด๋– ํ•œ ์ž‘์—…์„ ์ง„ํ–‰ํ•˜๊ธฐ ์œ„ํ•œ ๊ฐœ๋… ํ•„์š”์— ์˜ํ•ด ๋งŒ๋“ค์–ด์ง€๋Š” ๊ฐ ๋ธŒ๋žœ์น˜๋Š” ๋‹ค๋ฅธ ๋ธŒ๋žœ์น˜์˜ ์˜ํ–ฅ์„ ๋ฐ›์ง€ ์•Š๊ธฐ ๋•Œ๋ฌธ์—, ๊ฐœ๋ฐœ์ž๊ฐ€ ์—ฌ๋Ÿฌ ์ž‘์—…์„ ๋™์‹œ์— ์ง„ํ–‰์ด ๊ฐ€๋Šฅ ์ด๋ ‡๊ฒŒ ๋งŒ๋“ค์–ด์ง„ ๋ธŒ๋žœ์น˜๋ฅผ ๋‹ค๋ฅธ ๋ธŒ๋žœ์น˜์™€ ๋ณ‘ํ•ฉ(Merge)ํ•จ์œผ๋กœ์จ, ์ž‘์—… ๋‚ด์šฉ์„ ๋‹ค์‹œ ์ƒˆ๋กœ์šด ๋ธŒ๋žœ์น˜๋ฅด ๋ชจ์„ ์ˆ˜ ์žˆ์Œ ์ดˆ๊ธฐ ๋ธŒ๋žœ์น˜๋Š” main(์ด์ „์—๋Š” master) ๋ผ๋Š” ์ด๋ฆ„์˜ ๋ธŒ๋žœ์น˜๋ฅผ ์ƒ์„ฑํ•จ ๋‹ค๋ฅธ ๋ธŒ๋žœ์น˜๋ฅผ ์ƒ์„ฑํ•˜๊ณ  checkout(๋ณ€๊ฒฝ) ํ•˜์ง€ ์•Š๋Š” ์ด.. 2021. 4. 11.
[Git / GitHub] - ๋กœ๊ทธ์ธ ์—†์ด push ํ•˜๊ธฐ(SSH Key ์„ค์ •) • ์•ˆ๋…•ํ•˜์„ธ์š”~ ์ด์ „์— ์šด์˜ํ•˜๋˜ ๋ธ”๋กœ๊ทธ ๋ฐ GitHub, ๊ณต๋ถ€ ๋‚ด์šฉ์„ ์ •๋ฆฌํ•˜๋Š” Study-GitHub ๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค! • ๋„ค์ด๋ฒ„ ๋ธ”๋กœ๊ทธ • GitHub • Study-GitHub • ๐Ÿ” โœ” GitHub SSH Key ์„ค์ •ํ•˜๊ธฐ ์•ˆ๋…•ํ•˜์„ธ์š”~ ์ด๋ฒˆ์— ์ •๋ฆฌํ•  ๋‚ด์šฉ์€ GitHub์— SSH Key๋ฅผ ์„ค์ •ํ•ด์„œ push ๋ฐ pull์„ ํ• ๋•Œ, ์•„๋ž˜ ์‚ฌ์ง„๊ณผ ๊ฐ™์€ ๋กœ๊ทธ์ธ์„ ํ•˜์ง€์•Š๊ณ  ๋ฐ”๋กœ push๊ฐ€ ๋˜๋„๋ก ์„ค์ •ํ•ด๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค. ๐ŸŽ— SSH(Secure Shell Protocol) Key SSH๋ž€, ์•”ํ˜ธํ™”๋œ ์›๊ฒฉ ์ ‘์† ํ”„๋กœํ† ์ฝœ์„ ์˜๋ฏธํ•ฉ๋‹ˆ๋‹ค. ์ฆ‰, ์ปดํ“จํ„ฐ๊ฐ„์— ์„œ๋กœ ํ†ต์‹ ์„ ํ•  ๋•Œ, ๋ณด์•ˆ์ ์œผ๋กœ ์•ˆ์ „ํ•˜๊ฒŒ ํ†ต์‹ ์„ ํ•  ๋•Œ ์‚ฌ์šฉํ•˜๋Š” ์›๊ฒฉ ์ ‘์† ํ”„๋กœํ† ์ฝœ์ž…๋‹ˆ๋‹ค. SSH Key๋ž€, ํ”„๋กœํ† ์ฝœ๋กœ ์„œ๋ฒ„์— ์ ‘์† ์‹œ ๋น„๋ฐ€๋ฒˆํ˜ธ ๋Œ€์‹  Key๋ฅผ ์ œ์ถœํ•˜๋Š” ๋ฐฉ์‹์ž…๋‹ˆ๋‹ค... 2021. 3. 16.
[Git / GitHub] - git subtree ๋ช…๋ น์–ด ์•ˆ๋…•ํ•˜์„ธ์š”? ์ด์ „์— ์šด์˜ํ•˜๋˜ ๋ธ”๋กœ๊ทธ์™€ ์†Œ์Šค์ฝ”๋“œ๋ฅผ ๊ด€๋ฆฌํ•˜๋Š” GitHub๊ฐ€ ๋”ฐ๋กœ ์žˆ์Šต๋‹ˆ๋‹ค. ๋„ค์ด๋ฒ„ ๋ธ”๋กœ๊ทธ GitHub โœ” Git - subtree ์•ˆ๋…•ํ•˜์„ธ์š”, ์ด๋ฒˆ์— ์ •๋ฆฌํ•  ๋‚ด์šฉ์€ git์—์„œ subtree๋ฅผ ํ™œ์šฉํ•œ ๋ ˆํฌ์ง€ํ† ๋ฆฌ ์•ˆ์— ๋ ˆํฌ์ง€ํ† ๋ฆฌ๋ฅผ ์ €์žฅํ•˜๊ธฐ ์ž…๋‹ˆ๋‹ค. ์œ„ ๋ ˆํฌ์ง€ํ† ๋ฆฌ๋ฅผ ๋“ค์–ด๊ฐ€๋ฉด ์•„๋ž˜์™€ ๊ฐ™์ด ๋˜์–ด์žˆ์Šต๋‹ˆ๋‹ค. ์œ„ ์‚ฌ์ง„์—์„œ ๋ณด์‹œ๋ฉด ๋ ˆํฌ์ง€ํ† ๋ฆฌ ๋‚ด๋ถ€์— ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์„ธ ๋ ˆํฌ์ง€ํ† ๋ฆฌ๊ฐ€ ์ €์žฅ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค. fastcampus-java-admin inflearn-docker inflearn-spring-basic ๋”ฐ๋ผ์„œ ์œ„์™€ ๊ฐ™์ด ํด๋” ์•ˆ์— ํด๋”๋ฅผ ์ €์žฅํ•ด๋ณด๋„๋ก ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค. โœ” ์ค€๋น„๋ฌผ ์šฐ์„  ๋‹ค์Œ๊ณผ ๊ฐ™์ด ๋‘ ๊ฐœ์˜ ๋ ˆํฌ์ง€ํ† ๋ฆฌ๊ฐ€ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค ๋ถ€๋ชจ Repository ์ž์‹ Repository ์—ฌ๊ธฐ์„œ ๋ถ€๋ชจ Repository๋Š” ro.. 2021. 1. 17.
๋ฐ˜์‘ํ˜•