In the first part of our Tips and Tricks series we introduced you to Tower’s powerful drag and drop features, while part two was all about useful methods to organize your repositories and branches. In the third part of our series we will focus on working with commits and patches.
1. Open a commit in its own window
Open a commit (or multiple) in its own window via its contextual menu (or by simply double-clicking in „List“).
2. Show commits for all branches
Have all branches shown in the history by selecting nothing in the sidebar. You can de-select by holding CMD while clicking on a branch in the sidebar. Alternatively you can use “Show All Branches in History” in the “View” menu.
3. Create branches and tags
Create a branch or tag based on a specific commit via its contextual menu.
4. Copy diff to clipboard
Copy a diff to your clipboard by clicking the little (clipboard) icon next to a file’s name.
5. Create patch files
Save a patch from a commit by selecting “Save Patch as File…” from the contextual menu.
6. Apply patches
Apply a patch file by selecting “Apply Patch…” from your HEAD branch’s contextual menu. Alternatively, you can drag and drop a .diff/.patch file on Tower’s dock icon when the app is running.