I know I can view the history of a file in my local database within SourceTree by right clicking on the file and selecting "Log Selected". Is there a way to see the history of a file in the remote repository before doing a pull?
If you're using Git, ou can use 'Fetch' to retrieve the remote branch state (but without pulling it into your local branches), then select any of the commits in the log which are outside your local branch state - the history functions here work exactly the same way as for commits that are in your local branches. YOu can toggle the remote branches on/off in the scope bar above the log.
In Mercurial, there's no way to do this right now. In future we intend to allow more detailed information to be provided in the 'incoming' view before you confirm a pull, although in this case it's likely to be limited to just looking at each incoming commit in turn rather than having a unified remote view of file history.
This is how I do it: go to Working Copy, change the file filter from Pending to "All files", and then either browse your repository or just type part of the file name in the filter text edit field at the top right. That filter works great as a way to drill down quickly on the file you are looking for. When you have found the file you want to know the history of: right click and select "Log Selected...", et vôila! :-)
The resulting list shows the dates the files was changed, who made the change, their commit comments, and of course a detailed breakdown of the exact changes.
Hope this helps.
Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...
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!
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