- Today
- Total
๋ชฉ๋กgit checkout ์๋ฌ (2)
DATA101
โ ์๋ฌ ์ํฉ- branch ์ด๋ ์๋ ์ค ์๊ฒฉ ์ ์ฅ์ ๋ด branch ์ ๋ณด๋ฅผ ์ ๋๋ก ์ฝ์ด์ค์ง ๋ชปํ๋ ์ํฉ ๋ฐ์- push, pull, merge ๋ฑ ์๊ฒฉ ์ ์ฅ์์ ํต์ ํ ๋ ์ธ์ ๋ ๋ฐ์ํ ์ ์๋ ์๋ฌ ์ค ํ๋๐ ์๋ฌ ๋ฉ์์งfatal: 'development' does not appear to be a git repositoryfatal: Could not read from remote repository.Please make sure you have the correct access rights and the repository exists.โจ ํด๊ฒฐ ๋ฐฉ๋ฒ2๊ฐ์ง ํด๊ฒฐ ๋ฐฉ๋ฒ์ด ์์ต๋๋ค.์ฒซ ๋ฒ์งธ, ์๊ฒฉ ์ ์ฅ์ ์ ๋ณด ์ ๋ฐ์ดํธ ๋ฐฉ๋ฒ๋ ๋ฒ์งธ, ์๊ฒฉ ์ ์ฅ์ ์ฐ๊ฒฐ ์ ๊ฑฐ ํ ์ฌ์ฐ๊ฒฐ๊ฐ๊ฐ ์์๋ณด๊ฒ ์ต๋๋ค.๐ก ์๋ฃจ์ 1..
โ ์๋ฌ ์ํฉ checkout (branch ์ด๋) ๋๋ pull ์ ๋ฐ์ ๐ ์๋ฌ ๋ฉ์์ง error: Your local changes to the following files would be overwritten by checkout: ... Please commit your changes or stash them before you switch branches. Aborting โจ ํด๊ฒฐ ๋ฐฉ๋ฒ Step 1) ๋ณ๋์ฌํญ ์คํ ๋ด ์ ์ฅ stash: ํ์ฌ Staging ์์ญ ๋ด ํ์ผ์ ๋ณ๋์ฌํญ์ ์คํ์ ๋ฃ์ด๋๊ธฐ git stash Step 2) checkout ๋๋ pull ์ํ checkout ํฌ๋ง ์ git checkout [๋ณ๊ฒฝํ branch ์ด๋ฆ] pull ํฌ๋ง ์ git pull origin [bra..
