@@ -9,7 +9,7 @@ gut provides a comprehensive set of commands for managing multiple GitHub reposi
99## Repository Operations
1010
1111### clone
12- Clone all repositories matching a pattern.
12+ Clone all repositories matching a pattern. Automatically detects and pulls Git LFS objects for repos that use LFS.
1313
1414``` bash
1515gut clone -o < org> -r " <regex>"
@@ -28,7 +28,7 @@ gut fetch -o <org> -r "<regex>"
2828```
2929
3030### pull
31- Pull the current branch of all local repositories that match a pattern.
31+ Pull the current branch of all local repositories that match a pattern. Automatically pulls Git LFS objects for repos that use LFS.
3232
3333``` bash
3434gut pull -o < org> -r " <regex>"
@@ -227,6 +227,79 @@ gut set permission -o <org> -t team-slug \
227227
228228** Permissions:** ` pull ` , ` push ` , ` admin ` , ` maintain ` , ` triage `
229229
230+ ### rename team
231+ Rename a GitHub organisation team. The new slug is auto-generated by GitHub from the new name.
232+
233+ ``` bash
234+ gut rename team < team-slug> < new-name> -o < org>
235+ ```
236+
237+ !!! warning "Team References"
238+ Renaming a team may invalidate references in issues and discussions. Requires typing "YES" to confirm.
239+
240+ ## Labels
241+
242+ Manage GitHub labels in bulk across repositories.
243+
244+ ### label list
245+ List all labels for repositories matching a pattern.
246+
247+ ``` bash
248+ gut label list -o < org> -r " <regex>"
249+ ```
250+
251+ ### label create
252+ Create a label across all matching repositories.
253+
254+ ``` bash
255+ gut label create -o < org> -r " <regex>" \
256+ --name " bug" --color " d73a4a" \
257+ --description " Something isn't working"
258+ ```
259+
260+ ### label delete
261+ Delete a label from all matching repositories.
262+
263+ ``` bash
264+ gut label delete -o < org> -r " <regex>" --name " bug"
265+ ```
266+
267+ ### label rename
268+ Rename a label (and optionally update color/description) across all matching repositories.
269+
270+ ``` bash
271+ gut label rename -o < org> -r " <regex>" \
272+ --name " bug" --new-name " defect" \
273+ --color " ff0000"
274+ ```
275+
276+ ## Health
277+
278+ ### health
279+ Comprehensive health check for repositories and system configuration.
280+
281+ ``` bash
282+ # Check repos for a single owner
283+ gut health -o < org>
284+
285+ # Check all owners
286+ gut health --all-owners
287+ ```
288+
289+ ** Checks performed:**
290+
291+ - ** NFD/NFC normalization** : Filenames with decomposed Unicode that cause conflicts on macOS
292+ - ** Case duplicates** : Files differing only in case (e.g., ` File.txt ` vs ` file.txt ` )
293+ - ** Large files** : Files exceeding threshold that should use Git LFS (default: 50 MB)
294+ - ** Long paths** : Filenames/paths exceeding Windows compatibility limits
295+ - ** System config** : Git version, ` core.precomposeUnicode ` , ` core.autocrlf ` , Git LFS installation
296+
297+ ** Options:**
298+
299+ - ` --large-file-mb <SIZE> ` — Size threshold in MB for LFS check (default: 50)
300+ - ` --filename-length-bytes <LENGTH> ` — Filename length warning threshold (default: 200)
301+ - ` --path-length-bytes <LENGTH> ` — Full path length warning threshold (default: 400)
302+
230303## Topics
231304
232305Topics are GitHub repository tags that help organize and discover repositories.
@@ -236,6 +309,9 @@ List topics for all repositories that match a pattern.
236309
237310``` bash
238311gut topic list -o < org> -r " <regex>"
312+
313+ # JSON output
314+ gut topic list -o < org> -r " <regex>" --json
239315```
240316
241317### topic set
@@ -365,18 +441,59 @@ List all repositories matching a pattern.
365441gut show repositories -o < org> -r " <regex>"
366442```
367443
368- ### show users
369- Show all users in an organization.
444+ ### show repository
445+ Show detailed access information for a specific repository, including teams and collaborators with permission levels and affiliation.
446+
447+ ``` bash
448+ gut show repository < repo-name> -o < org>
449+ ```
450+
451+ ** Output:**
452+
453+ - Teams table: Team Slug, Team Name, Permission
454+ - Collaborators table: Username, Permission, Affiliation (org/direct/outside)
455+
456+ ### show access
457+ Show user access levels across repositories.
458+
459+ ``` bash
460+ # Compact view (one column per user)
461+ gut show access < username1> < username2> -o < org> -r " <regex>"
462+
463+ # Detailed view (one row per user/repo)
464+ gut show access < username1> -o < org> --long
465+ ```
466+
467+ ### show teams
468+ Show all teams in an organisation.
469+
470+ ``` bash
471+ # Flat table
472+ gut show teams -o < org>
473+
474+ # Hierarchical tree showing parent/child relationships
475+ gut show teams -o < org> --tree
476+ ```
477+
478+ ### show team
479+ Show details of a specific team including members, repositories, and parent/child teams.
480+
481+ ``` bash
482+ gut show team < team-slug> -o < org>
483+ ```
484+
485+ ### show members
486+ Show all members in an organization with their roles and 2FA status.
370487
371488``` bash
372- gut show users -o < org>
489+ gut show members -o < org>
373490```
374491
375- ### set organisation
376- Set the default organization for all commands.
492+ ### set owner
493+ Set the default owner (organisation or user) for all commands.
377494
378495``` bash
379- gut set organisation < org -name>
496+ gut set owner < owner -name>
380497```
381498
382499## Template System
0 commit comments