{% extends "base.html" %} {% block content %}
{% include "partials/repo_heading.html" %} {% with breadcrumbs=[ {"name": owner_name, "href": owner_path}, {"name": repo.name, "href": repo_path}, {"name": "Fork"} ], nav_class="d-inline-block align-self-start" %} {% include "partials/breadcrumbs.html" %} {% endwith %}
{% include "partials/flash.html" %} {% if fork_disabled %} {% endif %}

Fork this repository

Choose where to create the fork and confirm the URL slug.

{% if personal_fork_disabled %}
Pick a team you belong to.
{% else %}
Pick your personal account or a team you belong to.
{% endif %}
The display name shown in repo lists and pages.
Used in the repository URL and clone path.
Defaults to the upstream repository visibility.
{% with primary_label="Create fork", primary_disabled=fork_disabled, cancel_disabled=fork_disabled, cancel_href=repo_path %} {% include "partials/form_actions.html" %} {% endwith %}
{% if repo.visibility == "private" %} {% with modal_id="confirm-fork-public", modal_title="Make fork public", modal_body="This fork will be public even though the upstream repo is private. Continue?", modal_confirm_text="Make public", modal_desc="Public forks can expose the contents of a private upstream repository.", modal_manual_submit=true %} {% include "partials/confirm_modal.html" %} {% endwith %} {% endif %} {% endblock %} {% block scripts %} {% endblock %}