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:

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 Sign up to answer
Community showcase
Published Oct 23, 2018 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...

1,236 views 4 2
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