ํฌ์ŠคํŠธ

Git

Git

๐Ÿ’ซ Push ํ•œ Commit ์ด๋ฆ„ ๋ณ€๊ฒฝ


git commit โ€“amend -m โ€œ์ด๋ฆ„โ€
git push โ€“force

๐Ÿ’ซ Github Desktop Commit Amend, Undo, Revert


Amend : Commit ์ด๋ฆ„, ์„ค๋ช… ์ˆ˜์ •
Undo : Commit ์ทจ์†Œ (๋ณ€๊ฒฝ ๋‚ด์šฉ์€ ๋ฐ”๋€Œ์ง€ ์•Š์Œ)
Revert : Commit ๋ณ€๊ฒฝ ๋‚ด์šฉ์„ ๋˜๋Œ๋ฆฌ๋Š” ๋˜ ๋‹ค๋ฅธ Commit ์ƒ์„ฑ

๐Ÿ’ซ ๋ฉ”๋ชจ


  • ํ•˜๋‚˜์˜ Commit์—๋Š” ํ•˜๋‚˜์˜ ์—…๋ฌด๋งŒ
    • ์ˆ˜์ • ์‹œ ๋‹ค๋ฅธ ์—…๋ฌด๋ฅผ ํ•œ ๋ฒˆ์— X, ํŠนํžˆ Hotfix
  • ์ปค๋ฐ‹ ์ „์—
    • Code Save
    • Code Test (์ค‘์š”)
    • In Unity Project
      • Scene Save
      • Prefab Override Apply
์ด ๊ธฐ์‚ฌ๋Š” ์ €์ž‘๊ถŒ์ž์˜ CC BY 4.0 ๋ผ์ด์„ผ์Šค๋ฅผ ๋”ฐ๋ฆ…๋‹ˆ๋‹ค.