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

SourceTree is heavy when it loads to large changed file


Hi. I really love SourceTree and it helps me ;)


I am using SourceTree for Node.js GIT repository, and it has package-lock.json.

Screen Shot 2018-12-18 at 12.55.40.png

package-lock.jsond is changed when a node module is added, removed and updated.

The size of package-lock.json is approximately 500kb but it has many changed lines.

Then SourceTree is really heavy when show the diff.

When I clicked a commit including the file, when I check the staged files including the file..


How can I avoid the situation?



2 answers

1 accepted

2 votes
Answer accepted


Thanks! You can add the file name pattern (package-lock.json) to the ignored list in Sourcetree's diff settings and it will no longer preview the contents. Hope that helps.

Brian Ganninger
Senior Mac Developer, Sourcetree

@Brian Ganninger

Thank you for your reply ;)


Yes, I want to ignore at SuorceTree diff but I cannot find out the settings.

How or where can I add the pettern "package-lock.json"?

(moved to replied thread)

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,126 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