{{template "base/head" .}}
{{template "repo/header" .}}
{{template "base/alert" .}} {{if .IsRepositoryAdmin}}

{{.i18n.Tr "repo.quick_guide"}}

{{.i18n.Tr "repo.clone_this_repo"}} {{.i18n.Tr "repo.clone_helper" "http://git-scm.com/book/en/Git-Basics-Getting-a-Git-Repository" | Str2html}}

{{if not $.DisableHTTP}} {{end}} {{if not $.DisableSSH}} {{end}}

{{.i18n.Tr "repo.create_new_repo_command"}}

touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin {{if $.DisableSSH}}{{$.CloneLink.HTTPS}}{{else}}{{$.CloneLink.SSH}}{{end}}
git push -u origin master

{{.i18n.Tr "repo.push_exist_repo"}}

git remote add origin {{if $.DisableSSH}}{{$.CloneLink.HTTPS}}{{else}}{{$.CloneLink.SSH}}{{end}}
git push -u origin master
{{else}}
{{.i18n.Tr "repo.bare_message"}}
{{end}}
{{template "base/footer" .}}