git-ar 1.1.12

Git all remotes. Git cli tool that targets both Github and Gitlab. Brings common development operations such as opening a pull request down to the shell. This is an alternative to both Github https://github.com/cli/cli and Gitlab https://gitlab.com/gitlab-org/cli cli tools.
Documentation
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
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
[
    {
        "url": "https://api.github.com/repos/jdoe/githapi/issues/24",
        "repository_url": "https://api.github.com/repos/jdoe/githapi",
        "labels_url": "https://api.github.com/repos/jdoe/githapi/issues/24/labels{/name}",
        "comments_url": "https://api.github.com/repos/jdoe/githapi/issues/24/comments",
        "events_url": "https://api.github.com/repos/jdoe/githapi/issues/24/events",
        "html_url": "https://github.com/jdoe/githapi/issues/24",
        "id": 2190244127,
        "node_id": "I_kwDOJ8RDIc6CjHkf",
        "number": 24,
        "title": "Test issue",
        "user": {
            "login": "jdoe",
            "id": 123456,
            "node_id": "MDQ6VXNlcjEwMzEzNzY=",
            "avatar_url": "https://avatars.githubusercontent.com/u/123456?v=4",
            "gravatar_id": "",
            "url": "https://api.github.com/users/jdoe",
            "html_url": "https://github.com/jdoe",
            "followers_url": "https://api.github.com/users/jdoe/followers",
            "following_url": "https://api.github.com/users/jdoe/following{/other_user}",
            "gists_url": "https://api.github.com/users/jdoe/gists{/gist_id}",
            "starred_url": "https://api.github.com/users/jdoe/starred{/owner}{/repo}",
            "subscriptions_url": "https://api.github.com/users/jdoe/subscriptions",
            "organizations_url": "https://api.github.com/users/jdoe/orgs",
            "repos_url": "https://api.github.com/users/jdoe/repos",
            "events_url": "https://api.github.com/users/jdoe/events{/privacy}",
            "received_events_url": "https://api.github.com/users/jdoe/received_events",
            "type": "User",
            "site_admin": false
        },
        "labels": [],
        "state": "open",
        "locked": false,
        "assignee": {
            "login": "jdoe",
            "id": 123456,
            "node_id": "MDQ6VXNlcjEwMzEzNzY=",
            "avatar_url": "https://avatars.githubusercontent.com/u/123456?v=4",
            "gravatar_id": "",
            "url": "https://api.github.com/users/jdoe",
            "html_url": "https://github.com/jdoe",
            "followers_url": "https://api.github.com/users/jdoe/followers",
            "following_url": "https://api.github.com/users/jdoe/following{/other_user}",
            "gists_url": "https://api.github.com/users/jdoe/gists{/gist_id}",
            "starred_url": "https://api.github.com/users/jdoe/starred{/owner}{/repo}",
            "subscriptions_url": "https://api.github.com/users/jdoe/subscriptions",
            "organizations_url": "https://api.github.com/users/jdoe/orgs",
            "repos_url": "https://api.github.com/users/jdoe/repos",
            "events_url": "https://api.github.com/users/jdoe/events{/privacy}",
            "received_events_url": "https://api.github.com/users/jdoe/received_events",
            "type": "User",
            "site_admin": false
        },
        "assignees": [
            {
                "login": "jdoe",
                "id": 123456,
                "node_id": "MDQ6VXNlcjEwMzEzNzY=",
                "avatar_url": "https://avatars.githubusercontent.com/u/123456?v=4",
                "gravatar_id": "",
                "url": "https://api.github.com/users/jdoe",
                "html_url": "https://github.com/jdoe",
                "followers_url": "https://api.github.com/users/jdoe/followers",
                "following_url": "https://api.github.com/users/jdoe/following{/other_user}",
                "gists_url": "https://api.github.com/users/jdoe/gists{/gist_id}",
                "starred_url": "https://api.github.com/users/jdoe/starred{/owner}{/repo}",
                "subscriptions_url": "https://api.github.com/users/jdoe/subscriptions",
                "organizations_url": "https://api.github.com/users/jdoe/orgs",
                "repos_url": "https://api.github.com/users/jdoe/repos",
                "events_url": "https://api.github.com/users/jdoe/events{/privacy}",
                "received_events_url": "https://api.github.com/users/jdoe/received_events",
                "type": "User",
                "site_admin": false
            }
        ],
        "milestone": null,
        "comments": 0,
        "created_at": "2024-03-16T20:51:20Z",
        "updated_at": "2024-03-16T20:54:15Z",
        "closed_at": null,
        "author_association": "OWNER",
        "active_lock_reason": null,
        "repository": {
            "id": 667173665,
            "node_id": "R_kgDOJ8RDIQ",
            "name": "githapi",
            "full_name": "jdoe/githapi",
            "private": false,
            "owner": {
                "login": "jdoe",
                "id": 123456,
                "node_id": "MDQ6VXNlcjEwMzEzNzY=",
                "avatar_url": "https://avatars.githubusercontent.com/u/123456?v=4",
                "gravatar_id": "",
                "url": "https://api.github.com/users/jdoe",
                "html_url": "https://github.com/jdoe",
                "followers_url": "https://api.github.com/users/jdoe/followers",
                "following_url": "https://api.github.com/users/jdoe/following{/other_user}",
                "gists_url": "https://api.github.com/users/jdoe/gists{/gist_id}",
                "starred_url": "https://api.github.com/users/jdoe/starred{/owner}{/repo}",
                "subscriptions_url": "https://api.github.com/users/jdoe/subscriptions",
                "organizations_url": "https://api.github.com/users/jdoe/orgs",
                "repos_url": "https://api.github.com/users/jdoe/repos",
                "events_url": "https://api.github.com/users/jdoe/events{/privacy}",
                "received_events_url": "https://api.github.com/users/jdoe/received_events",
                "type": "User",
                "site_admin": false
            },
            "html_url": "https://github.com/jdoe/githapi",
            "description": "Github API test repo",
            "fork": false,
            "url": "https://api.github.com/repos/jdoe/githapi",
            "forks_url": "https://api.github.com/repos/jdoe/githapi/forks",
            "keys_url": "https://api.github.com/repos/jdoe/githapi/keys{/key_id}",
            "collaborators_url": "https://api.github.com/repos/jdoe/githapi/collaborators{/collaborator}",
            "teams_url": "https://api.github.com/repos/jdoe/githapi/teams",
            "hooks_url": "https://api.github.com/repos/jdoe/githapi/hooks",
            "issue_events_url": "https://api.github.com/repos/jdoe/githapi/issues/events{/number}",
            "events_url": "https://api.github.com/repos/jdoe/githapi/events",
            "assignees_url": "https://api.github.com/repos/jdoe/githapi/assignees{/user}",
            "branches_url": "https://api.github.com/repos/jdoe/githapi/branches{/branch}",
            "tags_url": "https://api.github.com/repos/jdoe/githapi/tags",
            "blobs_url": "https://api.github.com/repos/jdoe/githapi/git/blobs{/sha}",
            "git_tags_url": "https://api.github.com/repos/jdoe/githapi/git/tags{/sha}",
            "git_refs_url": "https://api.github.com/repos/jdoe/githapi/git/refs{/sha}",
            "trees_url": "https://api.github.com/repos/jdoe/githapi/git/trees{/sha}",
            "statuses_url": "https://api.github.com/repos/jdoe/githapi/statuses/{sha}",
            "languages_url": "https://api.github.com/repos/jdoe/githapi/languages",
            "stargazers_url": "https://api.github.com/repos/jdoe/githapi/stargazers",
            "contributors_url": "https://api.github.com/repos/jdoe/githapi/contributors",
            "subscribers_url": "https://api.github.com/repos/jdoe/githapi/subscribers",
            "subscription_url": "https://api.github.com/repos/jdoe/githapi/subscription",
            "commits_url": "https://api.github.com/repos/jdoe/githapi/commits{/sha}",
            "git_commits_url": "https://api.github.com/repos/jdoe/githapi/git/commits{/sha}",
            "comments_url": "https://api.github.com/repos/jdoe/githapi/comments{/number}",
            "issue_comment_url": "https://api.github.com/repos/jdoe/githapi/issues/comments{/number}",
            "contents_url": "https://api.github.com/repos/jdoe/githapi/contents/{+path}",
            "compare_url": "https://api.github.com/repos/jdoe/githapi/compare/{base}...{head}",
            "merges_url": "https://api.github.com/repos/jdoe/githapi/merges",
            "archive_url": "https://api.github.com/repos/jdoe/githapi/{archive_format}{/ref}",
            "downloads_url": "https://api.github.com/repos/jdoe/githapi/downloads",
            "issues_url": "https://api.github.com/repos/jdoe/githapi/issues{/number}",
            "pulls_url": "https://api.github.com/repos/jdoe/githapi/pulls{/number}",
            "milestones_url": "https://api.github.com/repos/jdoe/githapi/milestones{/number}",
            "notifications_url": "https://api.github.com/repos/jdoe/githapi/notifications{?since,all,participating}",
            "labels_url": "https://api.github.com/repos/jdoe/githapi/labels{/name}",
            "releases_url": "https://api.github.com/repos/jdoe/githapi/releases{/id}",
            "deployments_url": "https://api.github.com/repos/jdoe/githapi/deployments",
            "created_at": "2023-07-16T22:04:18Z",
            "updated_at": "2023-08-27T02:30:26Z",
            "pushed_at": "2024-03-09T07:11:16Z",
            "git_url": "git://github.com/jdoe/githapi.git",
            "ssh_url": "git@github.com:jdoe/githapi.git",
            "clone_url": "https://github.com/jdoe/githapi.git",
            "svn_url": "https://github.com/jdoe/githapi",
            "homepage": null,
            "size": 4,
            "stargazers_count": 0,
            "watchers_count": 0,
            "language": null,
            "has_issues": true,
            "has_projects": true,
            "has_downloads": true,
            "has_wiki": false,
            "has_pages": false,
            "has_discussions": false,
            "forks_count": 0,
            "mirror_url": null,
            "archived": false,
            "disabled": false,
            "open_issues_count": 2,
            "license": {
                "key": "mit",
                "name": "MIT License",
                "spdx_id": "MIT",
                "url": "https://api.github.com/licenses/mit",
                "node_id": "MDc6TGljZW5zZTEz"
            },
            "allow_forking": true,
            "is_template": false,
            "web_commit_signoff_required": false,
            "topics": [],
            "visibility": "public",
            "forks": 0,
            "open_issues": 2,
            "watchers": 0,
            "default_branch": "main",
            "permissions": {
                "admin": true,
                "maintain": true,
                "push": true,
                "triage": true,
                "pull": true
            }
        },
        "body": "This is a test issue",
        "reactions": {
            "url": "https://api.github.com/repos/jdoe/githapi/issues/24/reactions",
            "total_count": 0,
            "+1": 0,
            "-1": 0,
            "laugh": 0,
            "hooray": 0,
            "confused": 0,
            "heart": 0,
            "rocket": 0,
            "eyes": 0
        },
        "timeline_url": "https://api.github.com/repos/jdoe/githapi/issues/24/timeline",
        "performed_via_github_app": null,
        "state_reason": null
    },
    {
        "url": "https://api.github.com/repos/jdoe/githapi/issues/23",
        "repository_url": "https://api.github.com/repos/jdoe/githapi",
        "labels_url": "https://api.github.com/repos/jdoe/githapi/issues/23/labels{/name}",
        "comments_url": "https://api.github.com/repos/jdoe/githapi/issues/23/comments",
        "events_url": "https://api.github.com/repos/jdoe/githapi/issues/23/events",
        "html_url": "https://github.com/jdoe/githapi/pull/23",
        "id": 2117300082,
        "node_id": "PR_kwDOJ8RDIc5l9Ozu",
        "number": 23,
        "title": "New Feature",
        "user": {
            "login": "jdoe",
            "id": 123456,
            "node_id": "MDQ6VXNlcjEwMzEzNzY=",
            "avatar_url": "https://avatars.githubusercontent.com/u/123456?v=4",
            "gravatar_id": "",
            "url": "https://api.github.com/users/jdoe",
            "html_url": "https://github.com/jdoe",
            "followers_url": "https://api.github.com/users/jdoe/followers",
            "following_url": "https://api.github.com/users/jdoe/following{/other_user}",
            "gists_url": "https://api.github.com/users/jdoe/gists{/gist_id}",
            "starred_url": "https://api.github.com/users/jdoe/starred{/owner}{/repo}",
            "subscriptions_url": "https://api.github.com/users/jdoe/subscriptions",
            "organizations_url": "https://api.github.com/users/jdoe/orgs",
            "repos_url": "https://api.github.com/users/jdoe/repos",
            "events_url": "https://api.github.com/users/jdoe/events{/privacy}",
            "received_events_url": "https://api.github.com/users/jdoe/received_events",
            "type": "User",
            "site_admin": false
        },
        "labels": [],
        "state": "open",
        "locked": false,
        "assignee": {
            "login": "jdoe",
            "id": 123456,
            "node_id": "MDQ6VXNlcjEwMzEzNzY=",
            "avatar_url": "https://avatars.githubusercontent.com/u/123456?v=4",
            "gravatar_id": "",
            "url": "https://api.github.com/users/jdoe",
            "html_url": "https://github.com/jdoe",
            "followers_url": "https://api.github.com/users/jdoe/followers",
            "following_url": "https://api.github.com/users/jdoe/following{/other_user}",
            "gists_url": "https://api.github.com/users/jdoe/gists{/gist_id}",
            "starred_url": "https://api.github.com/users/jdoe/starred{/owner}{/repo}",
            "subscriptions_url": "https://api.github.com/users/jdoe/subscriptions",
            "organizations_url": "https://api.github.com/users/jdoe/orgs",
            "repos_url": "https://api.github.com/users/jdoe/repos",
            "events_url": "https://api.github.com/users/jdoe/events{/privacy}",
            "received_events_url": "https://api.github.com/users/jdoe/received_events",
            "type": "User",
            "site_admin": false
        },
        "assignees": [
            {
                "login": "jdoe",
                "id": 123456,
                "node_id": "MDQ6VXNlcjEwMzEzNzY=",
                "avatar_url": "https://avatars.githubusercontent.com/u/123456?v=4",
                "gravatar_id": "",
                "url": "https://api.github.com/users/jdoe",
                "html_url": "https://github.com/jdoe",
                "followers_url": "https://api.github.com/users/jdoe/followers",
                "following_url": "https://api.github.com/users/jdoe/following{/other_user}",
                "gists_url": "https://api.github.com/users/jdoe/gists{/gist_id}",
                "starred_url": "https://api.github.com/users/jdoe/starred{/owner}{/repo}",
                "subscriptions_url": "https://api.github.com/users/jdoe/subscriptions",
                "organizations_url": "https://api.github.com/users/jdoe/orgs",
                "repos_url": "https://api.github.com/users/jdoe/repos",
                "events_url": "https://api.github.com/users/jdoe/events{/privacy}",
                "received_events_url": "https://api.github.com/users/jdoe/received_events",
                "type": "User",
                "site_admin": false
            }
        ],
        "milestone": null,
        "comments": 0,
        "created_at": "2024-02-04T20:54:49Z",
        "updated_at": "2024-03-16T20:54:28Z",
        "closed_at": null,
        "author_association": "OWNER",
        "active_lock_reason": null,
        "draft": false,
        "repository": {
            "id": 667173665,
            "node_id": "R_kgDOJ8RDIQ",
            "name": "githapi",
            "full_name": "jdoe/githapi",
            "private": false,
            "owner": {
                "login": "jdoe",
                "id": 123456,
                "node_id": "MDQ6VXNlcjEwMzEzNzY=",
                "avatar_url": "https://avatars.githubusercontent.com/u/123456?v=4",
                "gravatar_id": "",
                "url": "https://api.github.com/users/jdoe",
                "html_url": "https://github.com/jdoe",
                "followers_url": "https://api.github.com/users/jdoe/followers",
                "following_url": "https://api.github.com/users/jdoe/following{/other_user}",
                "gists_url": "https://api.github.com/users/jdoe/gists{/gist_id}",
                "starred_url": "https://api.github.com/users/jdoe/starred{/owner}{/repo}",
                "subscriptions_url": "https://api.github.com/users/jdoe/subscriptions",
                "organizations_url": "https://api.github.com/users/jdoe/orgs",
                "repos_url": "https://api.github.com/users/jdoe/repos",
                "events_url": "https://api.github.com/users/jdoe/events{/privacy}",
                "received_events_url": "https://api.github.com/users/jdoe/received_events",
                "type": "User",
                "site_admin": false
            },
            "html_url": "https://github.com/jdoe/githapi",
            "description": "Github API test repo",
            "fork": false,
            "url": "https://api.github.com/repos/jdoe/githapi",
            "forks_url": "https://api.github.com/repos/jdoe/githapi/forks",
            "keys_url": "https://api.github.com/repos/jdoe/githapi/keys{/key_id}",
            "collaborators_url": "https://api.github.com/repos/jdoe/githapi/collaborators{/collaborator}",
            "teams_url": "https://api.github.com/repos/jdoe/githapi/teams",
            "hooks_url": "https://api.github.com/repos/jdoe/githapi/hooks",
            "issue_events_url": "https://api.github.com/repos/jdoe/githapi/issues/events{/number}",
            "events_url": "https://api.github.com/repos/jdoe/githapi/events",
            "assignees_url": "https://api.github.com/repos/jdoe/githapi/assignees{/user}",
            "branches_url": "https://api.github.com/repos/jdoe/githapi/branches{/branch}",
            "tags_url": "https://api.github.com/repos/jdoe/githapi/tags",
            "blobs_url": "https://api.github.com/repos/jdoe/githapi/git/blobs{/sha}",
            "git_tags_url": "https://api.github.com/repos/jdoe/githapi/git/tags{/sha}",
            "git_refs_url": "https://api.github.com/repos/jdoe/githapi/git/refs{/sha}",
            "trees_url": "https://api.github.com/repos/jdoe/githapi/git/trees{/sha}",
            "statuses_url": "https://api.github.com/repos/jdoe/githapi/statuses/{sha}",
            "languages_url": "https://api.github.com/repos/jdoe/githapi/languages",
            "stargazers_url": "https://api.github.com/repos/jdoe/githapi/stargazers",
            "contributors_url": "https://api.github.com/repos/jdoe/githapi/contributors",
            "subscribers_url": "https://api.github.com/repos/jdoe/githapi/subscribers",
            "subscription_url": "https://api.github.com/repos/jdoe/githapi/subscription",
            "commits_url": "https://api.github.com/repos/jdoe/githapi/commits{/sha}",
            "git_commits_url": "https://api.github.com/repos/jdoe/githapi/git/commits{/sha}",
            "comments_url": "https://api.github.com/repos/jdoe/githapi/comments{/number}",
            "issue_comment_url": "https://api.github.com/repos/jdoe/githapi/issues/comments{/number}",
            "contents_url": "https://api.github.com/repos/jdoe/githapi/contents/{+path}",
            "compare_url": "https://api.github.com/repos/jdoe/githapi/compare/{base}...{head}",
            "merges_url": "https://api.github.com/repos/jdoe/githapi/merges",
            "archive_url": "https://api.github.com/repos/jdoe/githapi/{archive_format}{/ref}",
            "downloads_url": "https://api.github.com/repos/jdoe/githapi/downloads",
            "issues_url": "https://api.github.com/repos/jdoe/githapi/issues{/number}",
            "pulls_url": "https://api.github.com/repos/jdoe/githapi/pulls{/number}",
            "milestones_url": "https://api.github.com/repos/jdoe/githapi/milestones{/number}",
            "notifications_url": "https://api.github.com/repos/jdoe/githapi/notifications{?since,all,participating}",
            "labels_url": "https://api.github.com/repos/jdoe/githapi/labels{/name}",
            "releases_url": "https://api.github.com/repos/jdoe/githapi/releases{/id}",
            "deployments_url": "https://api.github.com/repos/jdoe/githapi/deployments",
            "created_at": "2023-07-16T22:04:18Z",
            "updated_at": "2023-08-27T02:30:26Z",
            "pushed_at": "2024-03-09T07:11:16Z",
            "git_url": "git://github.com/jdoe/githapi.git",
            "ssh_url": "git@github.com:jdoe/githapi.git",
            "clone_url": "https://github.com/jdoe/githapi.git",
            "svn_url": "https://github.com/jdoe/githapi",
            "homepage": null,
            "size": 4,
            "stargazers_count": 0,
            "watchers_count": 0,
            "language": null,
            "has_issues": true,
            "has_projects": true,
            "has_downloads": true,
            "has_wiki": false,
            "has_pages": false,
            "has_discussions": false,
            "forks_count": 0,
            "mirror_url": null,
            "archived": false,
            "disabled": false,
            "open_issues_count": 2,
            "license": {
                "key": "mit",
                "name": "MIT License",
                "spdx_id": "MIT",
                "url": "https://api.github.com/licenses/mit",
                "node_id": "MDc6TGljZW5zZTEz"
            },
            "allow_forking": true,
            "is_template": false,
            "web_commit_signoff_required": false,
            "topics": [],
            "visibility": "public",
            "forks": 0,
            "open_issues": 2,
            "watchers": 0,
            "default_branch": "main",
            "permissions": {
                "admin": true,
                "maintain": true,
                "push": true,
                "triage": true,
                "pull": true
            }
        },
        "pull_request": {
            "url": "https://api.github.com/repos/jdoe/githapi/pulls/23",
            "html_url": "https://github.com/jdoe/githapi/pull/23",
            "diff_url": "https://github.com/jdoe/githapi/pull/23.diff",
            "patch_url": "https://github.com/jdoe/githapi/pull/23.patch",
            "merged_at": null
        },
        "body": "This is a new feature",
        "reactions": {
            "url": "https://api.github.com/repos/jdoe/githapi/issues/23/reactions",
            "total_count": 0,
            "+1": 0,
            "-1": 0,
            "laugh": 0,
            "hooray": 0,
            "confused": 0,
            "heart": 0,
            "rocket": 0,
            "eyes": 0
        },
        "timeline_url": "https://api.github.com/repos/jdoe/githapi/issues/23/timeline",
        "performed_via_github_app": null,
        "state_reason": null
    }
]