Seeing changes by file

13m2 July 3, 2013

Hello all,

I am using Git with Sourcetree for version control of a WordPress site. There are many different files in my project. I may work on a page-template, then a CSS file, a functions file, another template and so on.

My main window shows all my commits, across all files in chronological order. I would like to limit that to one file, so that I can check all the changes I made to only that particular file.

Is there a way to do that?

Thanks

3 answers

1 accepted

1 vote
Answer accepted
KieranA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 3, 2013

Hi Andre,

You can context-click on a file and hit "Log Selected" to reveal a new window which shows log entries for just that file.

Hope that helps

13m2 July 3, 2013

Yes, that was exactly what I was looking for.

Thanks Kieran!

0 votes
13m2 July 3, 2013

I am on a Mac

0 votes
KieranA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 3, 2013

Hi Andre,

Are you using the WIndows or Mac version?

Thanks

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events