gitをcommitしようとしたら
warning: You ran 'git add' with neither '-A (--all)' or '--ignore-removal',
whose behaviour will change in Git 2.0 with respect to paths you removed.
Paths like 'wp-content/siteguard/1399884044.png' that are
removed from your working tree are ignored with this version of Git.
* 'git add --ignore-removal <pathspec>', which is the current default,
ignores paths you removed from your working tree.
* 'git add --all <pathspec>' will let you also record the removals.
Run 'git status' to check the paths you removed from your working tree.
めっちゃ怒られてるやん
これは私が、不要なファイルをgitignoreに追加した後でcommitしようとしたから
ファイル追加されてるけど、あんた削除リスト入れてますけど、どうなってんねん?!
と怒られている状態です。
謝ります。
git add -A
とする事で削除しますた!
とgitに教える事で解決できます。
コメント