Tower Tips and Tricks (part 3): Commits and Patches

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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值