9 lines
226 B
Bash
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
|
|
}
|