How do I search for all commits where an html file was added? I have a static website under source control and I'd like to see a record of what pages I added to the site and when.
Unfortunately, you can't search commits by filename in SourceTree. However, you should be able to do it by Git command line using:
git log --follow filename
Cheers,
Renato
Thanks Renato. What I meant was something that tells me all files and when they were committed, so it would return something like:
a.html first committed on 1 Jan 2017
b.html first committed on 12 Jan 2017
c.html first committed on 23 Dec 2016
...etc
Is there a git command that does something like that?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.