{% extends "layout.html" %} {% block title %}settings · {{ owner.username }}/{{ repo.name }} — kitgit{% endblock %} {% block content %}

{{ owner.username }}/{{ repo.name }} · settings

{% let tab = "settings" %} {% let archive_ref = repo.default_branch %} {% include "partials/repo_tabs.html" %} {% if let Some(err) = error %}
{{ err }}
{% endif %}
general
features
pull requests
branch protection
branch rules

Pattern-based rules (e.g. main, release/*).

{% if branch_rules.is_empty() %}

No branch rules yet.

{% else %} {% endif %}
collaborators {% if collaborators.is_empty() %}

No collaborators.

{% else %} {% endif %}
{% if access.can_owner() || is_site_admin %}
danger zone {% if access.can_owner() %}

{% if repo.archived %}Unarchive this repository.{% else %}Archive — read-only for everyone.{% endif %}

{% endif %}
{% endif %}
{% endblock %}