I am viewing a branch in the log view and I have highlighted several commits in the 'Current Branch' view. How do I capture a list of all the commits selected?
Copy/Cut to the clipboard doesn't appear to get text (nothing in my editor when I paste it), and I can't see any option to generate a file or a view of this list of selected commits.
I would like a list with the commit id, the branch it was on, and the commit message at the least.
This would be handy when generating release notes, or reports.
At present, SourceTree doesn't provide a way to copy & paste the commit text, nor is there a way to export a list. I suggest filing a feature request in our online issue tracker at jira.atlassian.com - we take all user feedback and suggestions into consideration when determining our product roadmaps.
Another vote for this feature from me... We also need to be able to report changes to non-developers in a periodic report, and either need to paste the commit messages into both places on each commit (to keep a running log), or copy and paste via the web interface one-by-one to update (or just to verify the log file completeness). Either way, it is a time consuming process that could be made so much easier if we could export this information, or even see it all at once via the web interface to copy and paste it just once.
I found this, Its not exactly from sourcetree but you can log out specific commit messages and such with git itself. See link here https://git-scm.com/book/en/v2/Git-Basics-Viewing-the-Commit-History. You could then pipe that output to a .txt file or something. Its a workaround if this feature never comes about.
For me this command worked once in the directory. This gave the commit hash with its commit message.
git log --pretty=oneline
Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot