Does Sourcetree support 'git log --follow' ?

Sam Morehouse
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 12, 2019

We have files in a repo that were moved within the repo. If you use "git log" on these files, you don't see the full history of the files before the 'git mv' was done. If you use 'git log --follow' on these files, you see the full history before and after the move. Is there a way to configure Sourcetree to use 'git log --follow'? Git for Eclipse supports this feature. 

1 answer

1 accepted

4 votes
Answer accepted
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 12, 2019

Hi @Sam Morehouse,

Welcome to the Atlassian Community.

When you do the log selected in Sourcetree there is a checkbox for "Follow renamed files".

Sam Morehouse
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 12, 2019

Yes there is, and it works!! Thank you!

Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events