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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

566 views 1 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