{% extends "man.html" %} {% set clone_urls = git_clone_urls(repo) %} {% set web_url = git_repo_url(repo) %} {% block content %}

index

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}}

{% if wiki.repo_ref != "master" %}
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.

{% if wiki.owner.username == current_user.username %} Settings for this wiki {{icon('caret-right')}} {% endif %}
{% endblock %}