The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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...

TAGS
AUG Leaders

Atlassian Community Events