{% extends "man.html" %} {% set clone_urls = git_clone_urls(repo) %} {% set web_url = git_repo_url(repo) %} {% block content %}
Your wiki has been created, but does not have any content. To add
content, push commits to the {{wiki.repo_ref}} branch
of
{{wiki.owner.canonical_name}}/{{wiki.repo_name}}:
{{clone_urls.ssh}}
git clone {{clone_urls.ssh}} && cd {{wiki.repo_name}}
git checkout --orphan {{wiki.repo_ref}}
git rm -rf *
echo "Hello world!" >index.md
git add index.md
git commit -m"Initial wiki commit"
git push -u origin {{wiki.repo_ref}}
{% else %}
git clone {{clone_urls.ssh}} && cd {{wiki.repo_name}}
echo "Hello world!" >index.md
git add index.md
git commit -m"Initial wiki commit"
git push -u origin master
{% endif %}
For more information, consult the documentation.