LoginSignup
0
0

More than 1 year has passed since last update.

git pull できない「error: The following untracked working tree files would be overwritten by merge:」→できた

Posted at

git pull できない「error: The following untracked working tree files would be overwritten by merge:」→できた

結論(どうすればよいか)

キャッシュ的なものを消す

git clean -d -f .

参照系が壊れたと思ったが違った?
-dオプションがいい味を出しているみたいだ・・・

# 試していたこと
git pull -f
git fetch
git checkout develop -f
git checkout masuter -f
git stash
git clean
git reset --hard

エラー内容

error: The following untracked working tree files would be overwritten by merge:

余談

最近キャッシュ系でトラブルシュート多いな・・・

もちろんリモートのブランチはちゃんと保護してから実施したほうがいいと思われる(protectしてね)

エラー対応 参考:

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0