{{define "footleft"}}{{.Owner}} / {{.Name}}{{end}} {{define "body" -}}
{{.Owner}} / {{.Name}}
empty{{if .Branch}} · {{.Branch}}{{end}}
paste this
git init
git remote add origin {{.CloneURL}}
{{if .Description}}mkdir -p .forge && cat > .barerepo/config <<'EOF'
[repo]
visibility = "{{.Visibility}}"
description = "{{.Description}}"
EOF
{{else if not .Public}}mkdir -p .forge && printf '[repo]\nvisibility = "public"\n' > .barerepo/config
{{end}}git add -A
git commit -m "first"
git push -u origin {{if .Branch}}{{.Branch}}{{else}}master{{end}}
{{if .Description}}
that block is what sets the visibility and the description. without it the repository stays private, because there is nowhere else to keep either.
{{else if not .Public}}
the third line is what makes it public. without it the repository stays private, because there is nowhere else to keep that.
{{end}}
already have a repo somewhere?
git remote set-url origin {{.CloneURL}} && git push --all
{{- end}}