Using gitlab, after a certain merge request, I found that several files were deleted. Because there are too many branches. I don’t know who deleted this file now. This file no longer exists locally. How to know who deleted it.
Run in the project directory:
git log -- DELETED_FILE_PATH
One thing to note is that you need to add an additional -- parameter
--
git log -p 删除文件名称
Run in the project directory:
One thing to note is that you need to add an additional
to git log.--
parameter