Git Commit and Push
์ปค๋ฐ๊ณผ ํธ์๋ฅผ ์์ฐจ์ ์ผ๋ก ์ํํฉ๋๋ค.
โ ๏ธ ๋ ํฌ์ <project>-commit ์คํฌ์ด ์ค์ ๋ก ์กด์ฌํ๋ฉด Commit Phase๊ฐ ๊ทธ์ชฝ์ผ๋ก ์์๋๋ค โ
git-commit ์คํฌ์ด ์กด์ฌ ํ์ธ๊ณผ ์์์ ํจ๊ป ์ฒ๋ฆฌํ๋ค.
Workflow
- Commit Phase โ
git-commit ์คํฌ์ ๊ท์น์ ๊ทธ๋๋ก ๋ฐ๋ฅธ๋ค (ํ๋ก์ ํธ ์์, ๊ฒฝ๋ก ๋ถ๊ธฐ, ๋ฉ์์ง ํฌ๋งท, Gotchas ํฌํจ). ์ปค๋ฐ ์ ์ฐจ๋ฅผ ์ด ์คํฌ์์ ์ฌ์ ์ํ์ง ์๋๋ค.
- Push Phase โ
git-push ์คํฌ ์ฐธ์กฐ
Quick Flow
# 1. Commit Phase โ git-commit ์คํฌ ๊ท์น๋๋ก ์ํ
# 2. ๋๊ธฐํ & ํธ์
git pull --rebase origin $(git branch --show-current)
git push origin $(git branch --show-current)
Checklist