Skip to content

Instantly share code, notes, and snippets.

View imsmith's full-sized avatar

Ian Smith imsmith

  • Seattle
  • 23:05 (UTC -07:00)
View GitHub Profile
@imsmith
imsmith / repo-report.tcl
Created April 15, 2026 18:19
a tcl script that produces a report that tells you the status of each repository in a directory of repositories with respect to github -- does the repo exist in both places? if so, are they in sync? etc.
#!/usr/bin/env tclsh
#
# repo-report.tcl — Compare ~/github with GitHub remote repos
# Requires: gh (authenticated), git, tclsh 8.6+
#
package require Tcl 8.6
set LOCAL_DIR [file normalize "~/github"]
set GH_USER "imsmith"