-
Notifications
You must be signed in to change notification settings - Fork 396
Expand file tree
/
Copy pathTower.rb
More file actions
189 lines (180 loc) · 4.09 KB
/
Tower.rb
File metadata and controls
189 lines (180 loc) · 4.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
cheatsheet do
title 'Tower'
docset_file_name 'Tower'
keyword 'tower'
source_url 'http://cheat.kapeli.com'
introduction 'Keyboard shortcuts for **Tower**, the most powerful Git client for Mac and Windows - visit [www.git-tower.com](https://www.git-tower.com) for more.'
category do
id 'General'
entry do
command 'CMD+N'
name 'Open new **window**'
end
entry do
command 'CMD+SHIFT+O'
name 'Show **Quick Open** dialog'
end
entry do
command 'CTRL+SHIFT+A'
name 'Show **Quick Actions** dialog'
end
entry do
command 'CTRL+SHIFT+D'
name 'Open external **diff tool** for current view'
end
entry do
command 'CMD+CTRL+0'
name 'Show **Activity** window'
end
entry do
command 'CMD+CTRL+F'
name 'Full screen mode'
end
entry do
command 'CTRL+R'
name 'Refresh / reload data'
end
end
category do
id 'Moving Between Views'
entry do
command 'CMD+CTRL+S'
name 'Show **Services** view'
end
entry do
command 'CMD+CTRL+R'
name 'Show **Repositories** view'
end
entry do
command 'CMD+1'
name 'Show **Working Copy** view'
end
entry do
command 'CMD+2'
name 'Show **History** view'
end
entry do
command 'CMD+3'
name 'Show **Stashes** view'
end
entry do
command 'CMD+4'
name 'Show **Pull Request** view'
end
entry do
command 'CMD+5'
name 'Show **Reflog** view'
end
entry do
command 'CMD+0'
name 'Show **HEAD** branch'
end
end
category do
id 'Working Copy & Local Changes'
entry do
command 'CMD+SHIFT+B'
name '**Check out** revision'
end
entry do
command 'CMD+SHIFT+C'
name 'Activate **commit dialog**'
end
entry do
command 'CMD+RETURN'
name 'Confirm **commit dialog**'
end
entry do
command 'SPACEBAR'
name 'Stage/unstage or Quicklook selected file (configurable in Preferences)'
end
entry do
command 'CMD+SHIFT+E'
name '**Stage** all current changes'
end
entry do
command 'CMD+SHIFT+OPTION+E'
name '**Unstage** all current changes'
end
entry do
command 'CMD+SHIFT+S'
name '**Save to Stash**'
end
entry do
command 'CMD+SHIFT+OPTION+S'
name '**Apply Stash**'
end
entry do
command 'CMD+SHIFT+BACKSPACE'
name 'Discard local changes in selected file'
end
entry do
command 'CMD+CTRL+M'
name 'Show / hide **non-modified** files (i.e. all of the project\'s files)'
end
entry do
command 'CMD+CTRL+I'
name 'Show / hide **ignored files**'
end
entry do
command 'CMD+CTRL+U'
name 'Show / hide files that are marked **assume-unchanged**'
end
end
category do
id 'Remote Interactions & Commit History'
entry do
command 'CMD+SHIFT+F'
name '**Fetch**'
end
entry do
command 'CTRL+SHIFT+P'
name '**Pull**'
end
entry do
command 'CMD+SHIFT+U'
name '**Push** HEAD'
end
entry do
command 'CMD+CTRL+G'
name 'Show / hide commit **tree graph**'
end
entry do
command 'CMD+C'
name 'Copy SHA-1 hashes of _selected_ commits to clipboard'
end
entry do
command 'CMD+CTRL+Arrow Right'
name 'Expand all diffs in changeset'
end
entry do
command 'CMD+CTRL+Arrow Left'
name 'Collapse all diffs in changeset'
end
end
category do
id 'Merging & Rebasing'
entry do
command 'CMD+SHIFT+M'
name '**Merge**'
end
entry do
command 'CMD+SHIFT+R'
name '**Rebase**'
end
end
category do
id 'Creating Branches & Tags'
entry do
command 'CMD+B'
name 'Create **new branch**'
end
entry do
command 'CMD+SHIFT+T'
name 'Create **new tag**'
end
end
notes <<-'END'
More tips, tricks, and time savers can be found in the Tower online help: [https://www.git-tower.com/help/](https://www.git-tower.com/help/mac/faq-and-tips/tips-and-tricks)
END
end