2

I want to know all or I want to list all the deleted files in my repository, but I don't know how to do that using Git Bash, I want to know what I'm gonna type in command using Git Bash?

Thank you.

2 Answers 2

2

If you have the grep binary installed you can list only the deleted files using:

git log --diff-filter=D --summary | grep delete 

Without grep you will see also the commit information, with:

git log --diff-filter=D --summary 
Sign up to request clarification or add additional context in comments.

Comments

1

I use this command to list all deleted files

$ git reflog

type that code in your Git Bash

1 Comment

Thank you. it's helpful to me.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.