Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Export change log in Sourcetree


I would like to export change logs per file that appear on the right bottom pane in the Log / History tab in Source Tree.

I currently copy and paste each husk manually for each file, which is a lot of work when there are many changes.

Is there any way exporting detailed change logs all at once for one commit?

1 answer

0 votes
Mikael Sandberg Community Leader Dec 19, 2018

Hi Yasuyo,

Welcome to Atlassian Community.

You can use git log -p -1 <path to your file> to get the diff output for one file, or git log -p -1 <commit> to get the diff for a single commit.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,117 views 5 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you