git rebase
๋ฅผ ์ฌ์ฉํ์ฌ ์ปค๋ฐ์ ๋ค์ ์ ๋ ฌํ๊ณ ์กฐ์ํ ํ ๋ณํฉ ์ถฉ๋์ด ๋ฐ์ํ๋ฉด Git์ ํฐ๋ฏธ๋์ ๋ค์ ๋ฉ์์ง๋ฅผ ์ถ๋ ฅํ์ฌ ์๋ ค์ค๋๋ค.
error: could not apply fa39187... something to add to patch A
When you have resolved this problem, run "git rebase --continue".
If you prefer to skip this patch, run "git rebase --skip" instead.
To check out the original branch and stop rebasing, run "git rebase --abort".
Could not apply fa39187f3c3dfd2ab5faa38ac01cf3de7ce2e841... Change fake file
์ฌ๊ธฐ์ Git์ ์ถฉ๋์ ์ผ์ผํค๋ ์ปค๋ฐ์ ์๋ ค ์ค๋๋ค(fa39187
). ๋ค์ ์ธ ๊ฐ์ง ์ต์
์ด ์ ๊ณต๋ฉ๋๋ค.
git rebase --abort
๋ฅผ ์คํํ์ฌ ๋ค์ ์ง์ ์ ์์ ํ ์คํ ์ทจ์ํ ์ ์์ต๋๋ค. Git์git rebase
ํธ์ถ ์ด์ ์ ๋ถ๊ธฐ ์ํ๋ก ๋๋๋ฆฝ๋๋ค.git rebase --skip
์ ์คํํ์ฌ ์ปค๋ฐ์ ์์ ํ ๊ฑด๋๋ธ ์ ์์ต๋๋ค. ์ฆ, ๋ฌธ์ ๊ฐ ์๋ ์ปค๋ฐ์ ์ํด ๋์ ๋ ๋ณ๊ฒฝ ๋ด์ฉ์ ํฌํจ๋์ง ์์ต๋๋ค. ์ด ์ต์ ์ ์ ํํ๋ ๊ฒฝ์ฐ๋ ๋งค์ฐ ๋๋ญ ๋๋ค.- ์ถฉ๋์ ํด๊ฒฐํ ์ ์์ต๋๋ค.
์ถฉ๋์ ํด๊ฒฐํ๋ ค๋ฉด ๋ช
๋ น์ค์์ ๋ณํฉ ์ถฉ๋์ ํด๊ฒฐํ๊ธฐ ์ํ ํ์ค ์ ์ฐจ๋ฅผ ๋ฐ๋ฅผ ์ ์์ต๋๋ค. ์๋ฃ๋๋ฉด Git์์ ๋ค์ ์ง์ ์ ๋๋จธ์ง๋ฅผ ๊ณ์ ์ฒ๋ฆฌํ ์ ์๋๋ก git rebase --continue
๋ฅผ ํธ์ถํด์ผ ํฉ๋๋ค.