MacBookPro:ํด๋๋ช
๋ด์ปดํฐ$ git pull
There is no tracking information for the current branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.
git pull <remote> <branch>
If you wish to set tracking information for this branch you can do so with:
git branch --set-upstream-to=origin/<branch> master
git pull์ ํ๋๋ฐ ์ด๋ฐ ๊ฒ ๋์ค๋ฉด์... ๋๊ธฐํ๋ ํด๋์ ๋ฐ์์ด ์์๋ค.
git pull <git์ฃผ์> ๋ฃ์ด๋ ์ ๋์.
๊ตฌ๊ธ๋ง ํ๋ค๊ฐ git stash ํ git pull ์ ํ๋ฉด ํด๊ฒฐ๋๋ค๋ ๊ธ ๋ฐ๊ฒฌํจ.
stash ํ๊ณ pull ํ๋๋ฐ ์ ๋จ. ํ์ฌ branch์์ tracking ์ ๋ณด๊ฐ ์๋ค๊ณ ํจ.
git stash ํ git pull <git์ฃผ์> ๋ฃ์ผ๋๊น ๋จ. ํด๊ฒฐ.
git stash๋ ํ๋ ์์ ์ ์์๋ก ์ ์ฅํด ๋๋ ๊ฑด๋ฐ... ์ด์ฐจํผ pull ํ ๊ฑฐ๋ผ ํ๋ ์์ ํ์๋ ์์์ง๋ง.
git stash apply ๋ช ๋ น์ด๋ฅผ ์ฌ์ฉํ๋ฉด stashํ๋ ํ์ผ๋ค ๋ค์ ๊ฐ์ ธ์ฌ ์ ์๋ค.
git stash apply // ๊ฐ์ฅ ์ต๊ทผ์ stashํ ์์ ๊ฐ์ ธ์ค๊ธฐ
git strash apply [stash ์ด๋ฆ]