0% found this document useful (0 votes)
65 views2 pages

Tower Cheat-Sheet Mac

This document provides a cheat sheet for keyboard shortcuts and tips for using the Git client app Tower on macOS. It includes sections for general shortcuts, working with branches and commits, merging, rebasing, viewing different areas, and tips for actions like drag and drop, chunk/line staging, committing without using the mouse, and opening repositories quickly.

Uploaded by

Rahul Gautam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
65 views2 pages

Tower Cheat-Sheet Mac

This document provides a cheat sheet for keyboard shortcuts and tips for using the Git client app Tower on macOS. It includes sections for general shortcuts, working with branches and commits, merging, rebasing, viewing different areas, and tips for actions like drag and drop, chunk/line staging, committing without using the mouse, and opening repositories quickly.

Uploaded by

Rahul Gautam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Cheat Sheet

The most powerful Git client macOS Edition

General
⌘ N Open new window
Working Copy
⌘ T Open new tab
⌘ ⇧ B Check out revision
⌘ ⇧ O Show „Quick Open“ dialog
⌘ ⇧ C Activate commit dialog
⌘ ⇧ A Show „Quick Actions“ dialog
⌘ RETURN Confirm commit dialog
⌘ ⇧ D Open external Diff tool
SPACEBAR Stage/unstage or Quicklook
⌘ R Refresh / reload data
selected file (see Preferences)

⌘ ⇧ E Stage all current changes

Merging & Rebasing ⌘ ⇧ ⌥ E Unstage all current changes

⌘ ⇧ S Save to Stash
⌘ ⇧ M Merge

⌘ ⇧ R Rebase ⌘ ⇧ ⌥ S Apply Stash

⌘ ⇧ BACKSPACE Discard local changes


Creating Branches & Tags in selected file
⌘ B Create new branch

⌘ ⇧ T Create new tag

Commit History + Remote Actions


⌘ ⇧ F Fetch
Moving Between Views ⌘ ⇧ P Pull
⌘ CTRL S Show Services
⌘ ⇧ U Push HEAD
⌘ CTRL R Show Repositories
CTRL G Show / hide commit tree graph

⌘ 1 Show Working Copy
⌘ C Copy SHA-1 hashes of selected
⌘ 2 Show History commits to clipboard

⌘ 3 Show Stashes ⌘ CTRL → Expand all diffs in changeset

⌘ 0 Show HEAD branch ⌘ CTRL ← Collapse all diffs in changeset

Download Tower for free at www.git-tower.com


Tips & Tricks
The most powerful Git client macOS Edition

Drag & Drop Chunk & Line Staging


Much of the „hard Git work“ can be performed Tower allows you to determine the exact changes
easily in Tower - simply via drag & drop! you want to add to a commit - down to the level of
chunks and even individual lines.
Create, Pull, Push Branches: Drag a branch in
the sidebar - and either drop it onto the Bran-
Select a changed file in the Working Copy list. In
ches section header (to create a new branch) or
the diff view on the right, you can then select the
drop it onto another branch (to merge, rebase,
exact chunks & lines you want to add to the next
pull, or push).
commit.
Create Branches & Tags: Drag commits from the
History views and drop them onto the Tags or
Branches sections in the sidebar: this will create
a new tag/branch based on the dragged commit.

Cherry-Pick: Commits can also be dropped onto Commit Without the Mouse
the Working Copy in the sidebar. This will cher- Crafting and confirming a commit can be done
ry-pick the dropped commit. without taking your hands off the keyboard. In the
Working Copy view, make sure that a changed file
Apply Stashes: Drag one of the changed files in
is selected:
a Stash and drop it onto the Working Copy in the
sidebar to only apply this very change.
hit the Spacebar to stage/unstage an item
use the up & down arrows on your keyboard to
inspect other files
hit ⌘ + ⇧ + C to focus the Commit area

Default Cloning Directory after having entered a message, confirm the


commit by hitting ⌘ + Return
In Tower‘s preferences dialog, you can configure a
default directory for cloned repositories. Once con-
figured, Tower will clone new repositories directly
into this directory.
Quick Open
To open or find a repository, you don‘t have to
take your hands off the keyboard. Simply hit ⌘ +
⇧ + O to show Tower‘s Open Quickly window.
Check Out Quickly
By default, the last opened repositories are shown.
In Tower, you can choose your favorite way to Simply start typing the name of a repository to
check out a branch: begin searching.

by double-clicking the branch in the sidebar


by right-clicking the branch in the sidebar and
selecting „Check Out“
by right-clicking the Working Copy item in the Learn More
sidebar and selecting a branch in the „Check
Out“ submenu Our documentation has more tips, tricks,
and keyboard shortcuts for you:
by clicking the current branch‘s name above the Tower Help
list of changed files in the Working Copy view Tips & Tricks
Keyboard Shortcuts

Download Tower for free at www.git-tower.com

You might also like