Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

New or Deleted file using Git --Diff

Socko-71
Contributor
May 1, 2019

I can use the diff command to write to a text file the differences between two repos. However it just list the files that changed. Is there away to list the files so I can tell if they were changed, added or deleted?

1 answer

1 accepted

0 votes
Answer accepted
Mikael Sandberg
Community Champion
May 1, 2019

You can use git diff --name-status, that will show you files that where added, modified and deleted.

Socko-71
Contributor
May 1, 2019

Thanks...exactly what I was looking for...

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events