file1->file2 からファイルの名前を変更すると、git status が表示されます。
# On branch master
# Changes not staged for commit:
# (use "git add/rm <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# deleted: pathname/file1.xml
私は git rm "pathname/file.xml" を実行しましたが、コミットのためにステージングされています:
# On branch master
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# deleted: pathname/file.xml
このファイルを削除するにはどうすればよいですか?
コミットしてリベースした後、取得しています
# Unmerged paths:
# (use "git reset HEAD <file>..." to unstage)
# (use "git add <file>..." to mark resolution)
added by us: path/file1.xml
no changes added to commit (use "git add" and/or "git commit -a")