I am currently using this Git command to show all modified files
git log --name-status -1 --oneline
What can I add to this command to show added and deleted files?
I am currently using this Git command to show all modified files
git log --name-status -1 --oneline
What can I add to this command to show added and deleted files?
What can I add to this command to show added and deleted files?
I'm not sure I understand the gap here. I ran your command as-is on a test repo.
$ git log --name-status -1 --oneline
7517b16 3
M file2
D file3
A file4
file2
was modified (so line starts with M
). The line starting with D
shows that file3
was deleted. The line starting with A
shows that file4
was added.