{{define "footleft"}}history · blame · raw{{end}} {{define "body" -}}
{{template "repotabs" .}} {{if .Error}}{{.Config}}
{{else}}
mkdir -p .forge && printf '[repo]\nvisibility = "public"\n' > .barerepo/config
git clone --mirror {{.CloneURL}}
cd {{.Name}}.git
git push {{.CopyURL}} 'refs/heads/*:refs/heads/*' 'refs/tags/*:refs/tags/*' 'refs/notes/*:refs/notes/*'