gritty 2.2.3

A command line tool to manage your remote repositories on GitHub, GitLab and Gitea remotes
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
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.2.2]https://github.com/benpueschel/gritty/compare/2.2.1..2.2.2 - 2025-08-25

### โš™๏ธ Miscellaneous Tasks

- *(release)* Hopefully fix release artifacts

<!-- generated by git-cliff -->
## [2.2.1]https://github.com/benpueschel/gritty/compare/2.2.0..2.2.1 - 2025-08-25

### โš™๏ธ Miscellaneous Tasks

- Add aarch64 targets
- Bump sccache version and remove from release

### Build

- *(deps)* Bump tokio from 1.43.0 to 1.43.1 ([#16]https://github.com/benpueschel/gritty/pull/16)

<!-- generated by git-cliff -->
## [2.2.0]https://github.com/benpueschel/gritty/compare/2.1.2..2.2.0 - 2025-03-08

### ๐Ÿš€ Features

- Add path option when cloning repo

<!-- generated by git-cliff -->
## [2.1.2]https://github.com/benpueschel/gritty/compare/2.1.1..2.1.2 - 2025-01-14

### ๐Ÿ“š Documentation

- Fix readme typo

### โš™๏ธ Miscellaneous Tasks

- Cargo fmt
- Upgrade octocrab
- Update gitea-sdk
- Cargo update

<!-- generated by git-cliff -->
## [2.1.1]https://github.com/benpueschel/gritty/compare/2.1.0..2.1.1 - 2024-09-08

### ๐Ÿšœ Refactor

- Move gritty-clap code into gritty::args

### โš™๏ธ Miscellaneous Tasks

- *(release-plz)* Use github app
- Cargo update

<!-- generated by git-cliff -->
## [2.1.0]https://github.com/benpueschel/gritty/compare/2.0.1..2.1.0 - 2024-09-05

### ๐Ÿš€ Features

- Add `gritty remote add` command

### ๐Ÿ“š Documentation

- Add `gritty remote add` command

### โš™๏ธ Miscellaneous Tasks

- Use sccache for release-plz
- Manually trigger release artifacts
- *(release-plz)* Use private access token
- *(rust)* Only run if code changed
- *(release)* Remove manual trigger

### Build

- *(deps)* Bump quinn-proto from 0.11.6 to 0.11.8
- Update gritty-clap

<!-- generated by git-cliff -->
## [2.0.1]https://github.com/benpueschel/gritty/compare/1.0.1..2.0.1 - 2024-09-03

### ๐Ÿ“š Documentation

- Update readme

<!-- generated by git-cliff -->
## [unreleased]https://github.com/benpueschel/gritty/compare/v1.0.1..HEAD

## [2.2.3]https://github.com/benpueschel/gritty/compare/2.2.2..2.2.3 - 2025-11-22

### ๐Ÿ› Bug Fixes

- *(gitlab)* Invalid_token authentication error

<!-- generated by git-cliff -->

### โš™๏ธ Miscellaneous Tasks

- *(main)* Release v1.0.1
- Use sccache

## [v1.0.1]https://github.com/benpueschel/gritty/compare/v1.0.0..v1.0.1 - 2024-08-15

### ๐Ÿ› Bug Fixes

- Correct help for repo names in `gritty help`

### ๐Ÿ“š Documentation

- Add issue templates
- Include build status badges

### โš™๏ธ Miscellaneous Tasks

- *(main)* Release v1.0.0
- V1.0.1

## [v1.0.0]https://github.com/benpueschel/gritty/compare/v0.8.1..v1.0.0 - 2024-08-07

### ๐Ÿ’ฅ BREAKING CHANGES

- due to [018f00f]https://github.com/benpueschel/gritty/commit/018f00ffbb0ad47202cb7873e46045995b1b4738 - simplify secrets config:
  Old configurations will break. Users will need to
  change the `secrets` section of their configuration:
  ```toml
  [secrets]
  type = "Keyring"
  ```
  Replaces the old `secrets = "Keyring" to use the system keyring to store
  secrets.
  ```toml
  [secrets]
  type = "SecretsFile"
  file = "path/to/file.toml"
  ```
  Replaces the old way to store secrets in a separate plaintext secrets
  file.
  ```toml
  [secrets]
  type = "Plaintext"

  [secrets.your_remote]
  token = "token"
  [secrets.remote]
  username = "user"
  password = "password"
  ```
  Replaces the old way to store secrets inline. Instead of the old
  `[secrets.Plaintext.<provider>`, the config now directly uses
  `[secrets.<provider>`, with a section to denote the type to use
  (`secrets.type`).

- due to [41cc53f](https://github.com/benpueschel/gritty/commit/41cc53f3fbfcfd525591ee3f9526353686f67712) - use PathBuf for config path:
  The System keyring now uses a canonical path to store
  credentials. This may break credential storage. If you encounter the
  error message `Could not find auth for remote <remote_name>`, you will
  need to call `gritty auth <remote_name>` and supply a new token.


### ๐Ÿš€ Features

- Add script to pull breaking changes
- Nice panic handler
- Include issue url when panicking
- *(remote)* Return full repo upon creation
- Add format option to create/list commands
- Windows support?
- [**breaking**] Use PathBuf for config path
- Print version with -V

### ๐Ÿ› Bug Fixes

- *(breaking.sh)* Typo in help overview
- Error when compiling without keyring feature
- Correct pre-color loading error handling
- Correct archive file name
- Add gitlab remote on `gritty create-config`

### ๐Ÿšœ Refactor

- *(config)* [**breaking**] Simplify secrets config
- Use BTreeMap for config
- Allow non-trailing commas in map macro
- Remove unused import
- Move cli arguments to separate crate
- Split subcommands into separate modules

### ๐Ÿ“š Documentation

- Better cli help

### ๐Ÿงช Testing

- *(config)* Add basic tests

### โš™๏ธ Miscellaneous Tasks

- *(main)* Release v0.8.1
- Fix gritty-clap version
- V1.0.0

### Build

- Add cargo package metadata
- Generate man-pages on build

## [v0.8.1](https://github.com/benpueschel/gritty/compare/v0.8.0..v0.8.1) - 2024-07-30

### ๐Ÿ› Bug Fixes

- Load default colors on create-config command

### ๐Ÿ“š Documentation

- Add section for install script

### โš™๏ธ Miscellaneous Tasks

- *(main)* Release v0.8.0
- V0.8.1

### Build

- Add install script for linux/macos
- *(install.sh)* Allow custom version tags

## [v0.8.0](https://github.com/benpueschel/gritty/compare/v0.7.0..v0.8.0) - 2024-07-27

### ๐Ÿš€ Features

- Add option to git init current dir
- Dynamically configurable colors :)
- Automatically pull from remote upon creation

### ๐Ÿšœ Refactor

- *(log)* New color api (again)

### ๐Ÿ“š Documentation

- Add gitlab in create-config section
- Actually add gitlab support (once more)
- Add missing subcommands
- Add color config section
- Add example images
- Makefile all the way

### โš™๏ธ Miscellaneous Tasks

- *(main)* Release v0.7.0
- V0.8.0

## [v0.7.0](https://github.com/benpueschel/gritty/compare/v0.6.0..v0.7.0) - 2024-07-23

### ๐Ÿš€ Features

- *(delete)* Add option to force-delete repo

### ๐Ÿ› Bug Fixes

- *(config)* Correct error formatting
- *(config)* Actually load the specified config oops

### ๐Ÿšœ Refactor

- *(config)* Remove default remotes

### ๐ŸŽจ Styling

- Use colors when printing error messages
- *(remote)* Uppercase WARNING on comment

### โš™๏ธ Miscellaneous Tasks

- *(main)* Release v0.6.0
- Bump deprecated action versions
- Update dependencies
- V0.7.0

## [v0.6.0](https://github.com/benpueschel/gritty/compare/v0.5.0..v0.6.0) - 2024-07-22

### ๐Ÿ’ฅ BREAKING CHANGES

- due to [95b5d41](https://github.com/benpueschel/gritty/commit/95b5d41fc0a24b2fc6fd6cb33c2609e8f7a2f0b4) - toggle listing private repos:
  Private repositories are not shown by default anymore.
  To list public and private repos, run `gritty list <remote> -p`.


### ๐Ÿš€ Features

- [**breaking**] Toggle listing private repos
- Add option to show forks

### ๐Ÿ› Bug Fixes

- Remove atty, use std method to detect tty
- Correctly filter out private repos on gitlab

### ๐Ÿšœ Refactor

- Use println macro and custom style to log
- *(log)* Add leftpad function
- Move subcommands into more atomic units

### ๐ŸŽจ Styling

- *(log)* Remove quotes on repo/remote names
- *(log)* Forgot to remove all quotes oops

### โš™๏ธ Miscellaneous Tasks

- *(main)* Release v0.5.0
- V0.6.0

## [v0.5.0](https://github.com/benpueschel/gritty/compare/v0.4.0..v0.5.0) - 2024-07-20

### ๐Ÿš€ Features

- Add global --config (-C) option
- Add option to recursively clone repos

### ๐Ÿ› Bug Fixes

- Properly respect NO_COLOR env variable
- Only colorize if stdout is a tty

### ๐Ÿšœ Refactor

- Move subcommands into dedicated structs

### โš™๏ธ Miscellaneous Tasks

- *(main)* Release v0.4.0
- Fix automatic releases
- V0.5.0

## [v0.4.0](https://github.com/benpueschel/gritty/compare/v0.3.0..v0.4.0) - 2024-07-18

### ๐Ÿš€ Features

- Add description option when creating repo
- Add gitlab remote

### ๐Ÿ› Bug Fixes

- *(create-config)* Add missing open paren

### ๐Ÿšœ Refactor

- Use DateTime for commit date

### ๐Ÿ“š Documentation

- Remove chore tasks from changelog

### โš™๏ธ Miscellaneous Tasks

- *(main)* Release v0.3.0
- *(release)* Only include recent changes
- *(release)* Exclude some types from changelog
- Bump dependencies
- V0.4.0

## [v0.3.0](https://github.com/benpueschel/gritty/compare/v0.2.0..v0.3.0) - 2024-07-17

### ๐Ÿš€ Features

- Spawn concurrent list-repo tasks
- List configured remotes

### ๐Ÿšœ Refactor

- *(log)* Remove unused, empty macro

### โš™๏ธ Miscellaneous Tasks

- *(main)* Release v0.2.0
- V0.3.0

## [v0.2.0](https://github.com/benpueschel/gritty/compare/v0.1.1..v0.2.0) - 2024-07-08

### ๐Ÿš€ Features

- Interactive configuration
- Clone remote repo
- *(args)* Add colors to help menu

### ๐Ÿ› Bug Fixes

- *(config)* Create secrets file if it doesn't exist

### ๐Ÿšœ Refactor

- *(commands)* Add get_input method
- *(args)* Move from structopt to clap

### ๐ŸŽจ Styling

- *(remote)* Fix top-level docs

### โš™๏ธ Miscellaneous Tasks

- *(main)* Release v0.1.1
- Bump dependency versions
- V0.2.0

## [v0.1.1](https://github.com/benpueschel/gritty/compare/v0.1.0..v0.1.1) - 2024-07-07

### ๐Ÿšœ Refactor

- *(remote)* Move clone to top-level trait
- *(remote)* Add static COMMIT_COUNT
- *(github)* Code cleanup
- Unified error type
- *(main)* Cleanup main function

### โš™๏ธ Miscellaneous Tasks

- *(main)* Release v0.1.0
- Bump version to 0.1.1

### Build

- Add Makefile

## [v0.1.0](https://github.com/benpueschel/gritty/compare/v0.0.1..v0.1.0) - 2024-07-06

### ๐Ÿ’ฅ BREAKING CHANGES

- due to [bb39c74](https://github.com/benpueschel/gritty/commit/bb39c74e715930001b594b0f51281b4343047fac) - ask for confirmation on delete:
  ask for confirmation on delete

- due to [d80983a](https://github.com/benpueschel/gritty/commit/d80983aff68d077300f2154e26d02602c2efeac4) - change config path:
  Old configs located at ~/.config/gitrc-rs/ will need to
  be relocated to ~/.config/gritty/

- due to [50b2fb4](https://github.com/benpueschel/gritty/commit/50b2fb4a02610a5789c36664db4b841327c69f2e) - add option to clone repo on creation:
  Configs now need a "clone_protocol" option for each
  remote.


### ๐Ÿš€ Features

- Cli remote authentication
- Use keyring secret by default
- [**breaking**] Ask for confirmation on delete
- List repositories
- Color highlighting
- Make keyring an optional feature
- [**breaking**] Change config path
- Add command to create default config
- [**breaking**] Add option to clone repo on creation
- Implement repo initialization

### ๐Ÿ› Bug Fixes

- *(config)* Only save when using plaintext auth
- *(github)* Handle empty repo commit infos
- *(gitea)* Handle empty repo commit infos
- Don't print full error when deleting repo
- Don't print default config on auth
- Git clone ssh url

### ๐Ÿ“š Documentation

- Update README.md

### โš™๏ธ Miscellaneous Tasks

- *(main)* Release v0.0.1
- Cache rust binaries
- *(release)* Change name to gritty :)

### Other

- Change name to gritty :)

## [v0.0.1](https://github.com/benpueschel/gritty/compare/v0.0.0..v0.0.1) - 2024-07-06

### ๐Ÿ’ฅ BREAKING CHANGES

- due to [419df8e](https://github.com/benpueschel/gritty/commit/419df8e666a03e9a669b38bda70d36b726eeb714) - simplify plaintext auth config:
  Old configs are not valid anymore and will not work.


### ๐Ÿš€ Features

- Add git remote trait
- Add github remote
- Add gitea impl
- Basic toml config
- [**breaking**] Simplify plaintext auth config
- Add secrets file config option
- Add platform-specific keyring config option
- Add config option to store secrets
- Add option to save config
- Parse args for an actual working version!

### ๐Ÿ› Bug Fixes

- Remove log.txt
- Repo commit fetching
- Correct repo clone url
- Set version to 0.0.1

### ๐Ÿšœ Refactor

- Move map_error to remote/mod.rs

### ๐Ÿ“š Documentation

- Add MIT license

### โš™๏ธ Miscellaneous Tasks

- Add rust workflow
- Automatic release workflow

<!-- generated by git-cliff -->