LoginSignup
0
0

More than 1 year has passed since last update.

deleted by themを追加したい時の魔法

Posted at

メモ代わりに残します。

A to B でマージする場合に deleted by them が発生したけど追加したい場合、
一度 rm --cached して add してあげれば良い。

git checkout B
git merge A
#=> deleted by theme: hoge_file
git rm --cached hoge_file
git add hoge_file
#=> new file: hoge_file
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