Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
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.
If you have the grep binary installed you can list only the deleted files using:
grep
git log --diff-filter=D --summary | grep delete
Without grep you will see also the commit information, with:
git log --diff-filter=D --summary
Add a comment
I use this command to list all deleted files
$ git reflog
type that code in your Git Bash
Start asking to get answers
Find the answer to your question by asking.
Explore related questions
See similar questions with these tags.