This repository has been archived by the owner on Oct 15, 2022. It is now read-only.
/
perforce.json
313 lines (308 loc) · 9.57 KB
/
perforce.json
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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
{
"id": "perforce_cheat_sheet",
"name": "Perforce",
"description": "Perforce cheat sheet for the command line client.",
"metadata": {
"sourceName": "Perforce",
"sourceUrl" : "https://www.perforce.com"
},
"aliases": [
"p4", "perforce command line client", "p4 command line"
],
"template_type": "terminal",
"section_order": [
"Develop",
"Local Security",
"Server Security",
"Investigate",
"Labels"
],
"sections": {
"Develop": [
{
"key": "p4 add",
"val": "Open a new file to add it to the depot"
},
{
"key": "p4 change",
"val": "Create or edit a changelist description"
},
{
"key": "p4 changes",
"val": "Display list of pending and submitted changelists"
},
{
"key": "p4 client",
"val": "Create or edit a client specification and its view"
},
{
"key": "p4 clients",
"val": "Display a list of known clients"
},
{
"key": "p4 clean",
"val": "Delete or refresh local files to match depot state"
},
{
"key": "p4 diff",
"val": "Display diff of client file with depot file"
},
{
"key": "p4 edit",
"val": "Open an existing file for edit"
},
{
"key": "p4 flush",
"val": "Update a client workspace's have list without copying any files"
},
{
"key": "p4 have",
"val": "List revisions last synced"
},
{
"key": "p4 lock",
"val": "Lock an opened file against changelist submission"
},
{
"key": "p4 move",
"val": "Move file from one location to another"
},
{
"key": "p4 opened",
"val": "Display list of files opened for pending changelist"
},
{
"key": "p4 print",
"val": "Print contents of a depot file to standard output"
},
{
"key": "p4 reconcile",
"val": "Opens files for edit, add or delete"
},
{
"key": "p4 rename",
"val": "Rename a file"
},
{
"key": "p4 reopen",
"val": "Change the type or changelist number of an opened file"
},
{
"key": "p4 resolve",
"val": "Merge open files with other revisions or files"
},
{
"key": "p4 resolved",
"val": "Show files that have been merged but not submitted"
},
{
"key": "p4 revert",
"val": "Discard changes from an opened file"
},
{
"key": "p4 shelve",
"val": "Store files from a pending changelist into the depot"
},
{
"key": "p4 status",
"val": "Reports which files need to be added, opened or deleted"
},
{
"key": "p4 submit",
"val": "Submit open files to the depot"
},
{
"key": "p4 sync",
"val": "Synchronize the client with its view of the depot"
},
{
"key": "p4 unlock",
"val": "Release a locked file but leave it open"
},
{
"key": "p4 unshelve",
"val": "Restore shelved files from a pending changelist into a workspace"
},
{
"key": "p4 update",
"val": "Update workspace without clobbering files changed since last sync"
}
],
"Local Security": [
{
"key": "p4 tickets",
"val": "Display list of sessions tickets for this user"
},
{
"key": "p4 trust",
"val": "Establish trust of an SSL connection to a Perforce service"
}
],
"Server Security": [
{
"key": "p4 login",
"val": "Login to Perforce by obtaining session ticket"
},
{
"key": "p4 logout",
"val": "Logout of Perforce by removing or invalidating ticket"
},
{
"key": "p4 passwd",
"val": "Set user password on server"
},
{
"key": "p4 set",
"val": "Set variables in the registry (Windows only)"
}
],
"Investigate": [
{
"key": "p4 annotate",
"val": "Print file lines along with their revisions"
},
{
"key": "p4 cstat",
"val": "List the changes not synchronized in the current client"
},
{
"key": "p4 depots",
"val": "Display list of depots"
},
{
"key": "p4 describe",
"val": "Display a changelist description"
},
{
"key": "p4 diff2",
"val": "Display diff of two depot files"
},
{
"key": "p4 dirs",
"val": "List subdirectories of a give depot directory"
},
{
"key": "p4 filelog",
"val": "List revision history of files"
},
{
"key": "p4 files",
"val": "List files in the depot"
},
{
"key": "p4 fstat",
"val": "Dump file info"
},
{
"key": "p4 grep",
"val": "Print lines in files(or revisions of files) that match a pattern"
},
{
"key": "p4 help",
"val": "Print help message"
},
{
"key": "p4 info",
"val": "Print out client and server information"
},
{
"key": "p4 integrated",
"val": "Show integrations that have been submitted"
},
{
"key": "p4 interchanges",
"val": "Lists changes not yet integrated from source to target"
},
{
"key": "p4 istat",
"val": "Show the stream's integration status"
},
{
"key": "p4 sizes",
"val": "Display size information for files in the depot"
},
{
"key": "p4 where",
"val": "Show how file names map through the client view"
}
],
"Branching and Merging": [
{
"key": "p4 branch",
"val": "Create or edit a branch specification"
},
{
"key": "p4 branches",
"val": "Display list of branches"
},
{
"key": "p4 copy",
"val": "Make target identical to source by branching, replacing or deleting"
},
{
"key": "p4 integrate",
"val": "Schedule integration from one file to another"
},
{
"key": "p4 merge",
"val": "Merge changes from one set of files into another"
},
{
"key": "p4 populate",
"val": "Branch files to target without requiring a workspace"
},
{
"key": "p4 prune",
"val": "Remove unmodified branched files from a stream"
},
{
"key": "p4 stream",
"val": "Create or edit a stream specification"
},
{
"key": "p4 streams",
"val": "Display a list of known streams"
},
{
"key": "p4 switch",
"val": "Switch to and/or create a new stream/branch (DVCS)"
}
],
"Jobs": [
{
"key": "p4 fix",
"val": "Mark jobs as being fixed by named changelists"
},
{
"key": "p4 fixes",
"val": "List what changelists fix what job"
},
{
"key": "p4 job",
"val": "Create or edit a job (defect) specification"
},
{
"key": "p4 jobs",
"val": "Display a list of jobs"
}
],
"Labels": [
{
"key": "p4 label",
"val": "Create or edit a label specification and its view"
},
{
"key": "p4 labels",
"val": "Display a list of labels"
},
{
"key": "p4 labelsync",
"val": "Synchronize label with current client contents"
},
{
"key": "p4 tag",
"val": "Tag files with a label"
}
]
}
}