How to search files present in multiple git repositories and see the history of changes done for a file in all branches?

i want to find a source which can be present in multiple repositories and see the history of all the changes done to it in multiple banches

2 answers

Neither Git nor SourceTree have many operations (possibly none) that effect multiple repositories at the same time.

Within one repository, if you find the file, you can right-click it and choose "Log Selected..." to view the history for that specific file.

Feature Request:

A new app called Source Forest that regularly scans all your repositories bookmarked in sourcetree and pulls the history data into a searchable database.

See also: https://answers.atlassian.com/questions/239704

I've implemented something similar for myself for subversion. I found it very useful. For example I wanted to know which of 10 projects had been worked on most contiguously and which had the most gaps of more than 15 days at a time between commits.

Suggest an answer

Log in or Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

227 views 0 3
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot