Files
snippets/bash/code-publish.sh
2026-05-13 07:52:37 -06:00

9 lines
226 B
Bash

#!/usr/bin/bash
publish () {
local repo_name
repo_name=$(basename "$PWD")
# replace this with basic git or gitea as needed
gh repo create "captbrogers/$repo_name" --private --source=. --remote=origin --push
}