-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgit_commands.js
170 lines (169 loc) · 3.17 KB
/
git_commands.js
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
// Exports _____________________________________________________________________
/**
* Get this output by running `git help -a` in your terminal.
* This might be improved by invoking the help command via `exec` so that this
* list populates dynamically based on the user’s system.
*
* However, there are two problems/considerations with such an approach:
* 1. Different versions of Git could be susceptible to copy and formatting
* changes, making the parsing of that output tricky to implement.
*
* 2. This could trigger some serious dependency issues!
*/
module.exports = [
'add',
'add--interactive',
'am',
'annotate',
'apply',
'archimport',
'archive',
'bisect',
'bisect--helper',
'blame',
'branch',
'bundle',
'cat-file',
'check-attr',
'check-ignore',
'check-mailmap',
'check-ref-format',
'checkout',
'checkout-index',
'cherry',
'cherry-pick',
'citool',
'clean',
'clone',
'column',
'commit',
'commit-tree',
'config',
'count-objects',
'credential',
'credential-cache',
'credential-cache--daemon',
'credential-store',
'cvsexportcommit',
'cvsimport',
'cvsserver',
'daemon',
'describe',
'diff',
'diff-files',
'diff-index',
'diff-tree',
'difftool',
'difftool--helper',
'fast-export',
'fast-import',
'fetch',
'fetch-pack',
'filter-branch',
'fmt-merge-msg',
'for-each-ref',
'format-patch',
'fsck',
'fsck-objects',
'gc',
'get-tar-commit-id',
'grep',
'gui',
'gui--askpass',
'hash-object',
'help',
'http-backend',
'http-fetch',
'http-push',
'index-pack',
'init',
'init-db',
'instaweb',
'interpret-trailers',
'log',
'ls-files',
'ls-remote',
'ls-tree',
'mailinfo',
'mailsplit',
'merge',
'merge-base',
'merge-file',
'merge-index',
'merge-octopus',
'merge-one-file',
'merge-ours',
'merge-recursive',
'merge-resolve',
'merge-subtree',
'merge-tree',
'mergetool',
'mktag',
'mktree',
'mv',
'name-rev',
'notes',
'p4',
'pack-objects',
'pack-redundant',
'pack-refs',
'patch-id',
'prune',
'prune-packed',
'pull',
'push',
'quiltimport',
'read-tree',
'rebase',
'receive-pack',
'reflog',
'relink',
'remote',
'remote-ext',
'remote-fd',
'remote-ftp',
'remote-ftps',
'remote-http',
'remote-https',
'remote-testsvn',
'repack',
'replace',
'request-pull',
'rerere',
'reset',
'rev-list',
'rev-parse',
'revert',
'rm',
'send-email',
'send-pack',
'sh-i18n--envsubst',
'shell',
'shortlog',
'show',
'show-branch',
'show-index',
'show-ref',
'stage',
'stash',
'status',
'stripspace',
'submodule',
'svn',
'symbolic-ref',
'tag',
'unpack-file',
'unpack-objects',
'update-index',
'update-ref',
'update-server-info',
'upload-archive',
'upload-pack',
'var',
'verify-commit',
'verify-pack',
'verify-tag',
'web--browse',
'whatchanged',
'write-tree',
];