๐Ÿšจ The following untracked working tree files would be overwritten by merge

๐Ÿšจ The following untracked working tree files would be overwritten by merge

git ์ €์žฅ์†Œ์—์„œ ํŒŒ์ผ์„ ๋‹น๊ฒจ ์˜ค๋Š”๋ฐ ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค.

error: The following untracked working tree files would be overwritten by merge:
์˜ค๋ฅ˜ ๋ฐœ์ƒํ•œ ํŒŒ์ผ ์œ„์น˜ ๋ฐ ์ด๋ฆ„
Please move or remove them before you can merge.

๊น”๋”ํ•˜๊ฒŒ ํ•˜๊ณ  ์‹ถ์–ด์„œ ์ž๊พธ ์ด๊ฒƒ์ €๊ฒƒ ํ•ด์„œ ๊ทธ๋Ÿฐ๊ฐ€ overwritten ๋๋‹จ๋‹ค.
์—ญ์‹œ๋‚˜ ํ•˜๋ผ๋Š” ๋Œ€๋กœ ํ•ด์ค€๋‹ค.

git clean -d -f -f

ํ•˜๊ณ  ๋‹ค์‹œ git pull ํ•ด์ฃผ๋ฉด

๋น ๋ฅธ ํ•ด๊ฒฐ~

Tags:

Categories:

Updated:

Leave a comment