git flow init
(ํ๋ก์ ํธ ํ์ผ์ ๋ค์ด์จ ์ํ)
git init
(readme ํ์ผ ์ถ๊ฐ ํ initial commit ํ๊ธฐ)
git branch develop
git switch develop
echo "1.gifigf" > readme.md
git commit -am "c1"
echo "2.๋๋ฒ์งธ ๊ธฐ๋ฅ" >> readme.md
git commit -am "c2"
echo "3.์ธ๋ฒ์งธ ๊ธฐ๋ฅ" >> readme.md
git commit -am "c3"
## c1์ผ๋ก ๋์๊ฐ๊ธฐ
git checkout 264f --> commit id๋ฅผ 4๊ธ์ ๊น์ง ์
๋ ฅ
echo "1.1 bugfix" >> readme.md
git commit -am "C1-b1"
git switch -c bugfix/1
git merge develop --> ์ถฉ๋ --> ํด๊ฒฐํด์กฐ~
git add .
git commit -m 'merge branch 'develop' into bugfix'
git switch develop
๋ง์ด ์ฐ์ตํด๋ณด์!