git diff name only A M and D meaning

120 Views Asked by At

I did

git diff --name-only commit1 commit2

and I get a list

A file1
M file2
D file3

What does the A, M, and D stand for? Thanks

1

There are 1 best solutions below

0
On BEST ANSWER

Added, modified, and deleted.