{# SPDX-FileCopyrightText: 2026 rishmadaan SPDX-License-Identifier: GPL-3.0-or-later #} {% extends "base.html" %} {% block title_suffix %} — Library{% endblock %} {% block content %} {% if flash %}
Import complete

{{ flash }}

{% if flash_reasons %} {% endif %}
{% endif %}
{{ eyebrow_date }} — Dashboard

Your library.

{{ subtitle }}.

{% if counts.clean %}{{ '%02d' % counts.clean }} clean{% endif %} {% if counts.dirty %}{{ '%02d' % counts.dirty }} local changes{% endif %} {% if counts.local_edits %}{{ '%02d' % counts.local_edits }} local edits{% endif %} {% if counts.diverged %}{{ '%02d' % counts.diverged }} diverged{% endif %} {% if counts.missing %}{{ '%02d' % counts.missing }} missing{% endif %} {% if counts.error %}{{ '%02d' % counts.error }} error{% endif %} {% if counts.behind %}{{ '%02d' % counts.behind }} behind{% endif %} {% if counts.ahead %}{{ '%02d' % counts.ahead }} ahead{% endif %} {% if counts.frozen %}{{ '%02d' % counts.frozen }} frozen{% endif %}
{# Every control here acts on repos in a workspace — the filters, the bulk buttons, and the clone form behind "+ Add repo". With no workspace configured there is nothing for any of them to act on, so the whole bar goes rather than offering buttons whose only possible answer is the hint. #} {% if workspaces %}
+ Add repo
{% endif %} {% if repos %}
{% for repo in repos %}{% include "partials/repo_row.html" %}{% endfor %}
№ Status Repository Workspace Branch Remote Δ Tags Last pull Actions
auto-refresh 30s · click repo name → details · pull runs in place · what does this dashboard show? {% elif not workspaces %} {% with lede="A workspace is the directory gitstow clones into. Add one before adding repos — from the workspaces page, or from a terminal:", cta=True, centered=True %} {% include "partials/no_workspaces.html" %} {% endwith %} {% else %}

Your library is empty.

Add your first repository to get started.

+ Add repo
{% endif %}

Reading the dashboard

Statuses

clean
Working tree matches HEAD; no uncommitted changes. In sync with your last fetch.
local changes
Uncommitted local changes — the label shows the composition (modified/staged/untracked). Commit or stash modified/staged work before pulling. Untracked-only repos can still pull.
local edits
Files are edited or staged AND the branch is behind (the Remote Δ chip shows how many commits). Pull is off until the edits are resolved; nothing has been checked for conflicts. Open the repo page to see which files the update also changes.
diverged
Local and remote both have commits the other lacks, whether or not files are also edited (the tooltip shows them). gitstow only fast-forwards, so Pull is off; rebase or merge in a terminal.
error
gitstow could not read this repo (git failed on it, for example a corrupt index). Nothing is shown as clean and Pull is off. Click the label to open the repo page with git's message; the repair happens in a terminal. Nothing on disk was changed.
missing
Tracked in gitstow, but the folder is not on disk. Re-clone it or remove it from gitstow.
behind
Remote has commits you don't. The Pull button turns orange and shows the count.
ahead
You have local commits not yet pushed. Pull does nothing here — consider git push.
frozen
Intentionally skipped by "Pull all". Lock icon marks the row. Unfreeze from the ⋯ menu.

The Pull button

Orange — repo is behind. Takes exactly those 5 commits: it moves the branch to the commit the count came from and does not fetch. If the branch or upstream changed since the row was drawn, nothing is pulled and the row says so.
Ghost — nothing is known to be waiting (up to date, ahead, or untracked files only). It fetches, then fast-forwards if the remote has anything new.
Disabled — repo is frozen, has local edits while behind, diverged from remote, or missing/unreadable. Pull is blocked until you resolve.

The Remote Δ column

Ahead (↑ N), behind (↓ N incoming ›), or even (—) relative to upstream. These counts reflect your last git fetch, not live remote state. Click Fetch all to refresh them without merging, or Pull all to fetch and merge. The ↓ N incoming › chip opens the repo page on its Incoming tab: the commits and file-level diff a pull would bring, before you pull. no upstream means the branch does not follow a remote branch although the repo has a remote; local means there is no remote at all — bulk pulls skip both. upstream gone means the branch follows a remote branch that no longer exists here, and no commits means the branch has no commits yet and its upstream had none to take at the last fetch — bulk pulls skip these too; no commits · ↓ N means its upstream has N, which the row's plain Pull (it fetches first) and Pull all take. ? means the repo is missing or could not be read, so nothing is known about its upstream.

Auto-refresh (every 30s)

It pauses while a row on screen shows a Pull or Fetch error, so the message stays while that row is shown. Dismiss it with ×; if you filter that row out instead, refresh resumes and the next refresh clears the message.

Refresh re-reads local state only: your ~/.gitstow/repos.yaml registry plus git status on each tracked repo. It catches:

  • New repos added via the CLI (gitstow add in another terminal)
  • Local commits, branch switches, dirty files you just edited

It does NOT run git fetch — so "behind" and "ahead" counts won't update unless you use Fetch all or Pull all.

Actions

Pull
Fast-forward only. "Pull N" takes exactly the N commits counted (no fetch); a plain "Pull" fetches first.
↓ Pull all
Pull every non-frozen repo in parallel. Automatically fetches first, then merges.
⟳ Fetch all
Fetch all remotes in parallel — updates ahead/behind counts without merging. Includes frozen repos.
+ Add repo
Clone a new repo into a workspace.
↻ Refresh
Re-read local state now (same as the 30-second auto).
Hide frozen
Collapse rows for frozen repos.
⋯
Per-row menu: view details, open folder, copy URL/path/local path, freeze/unfreeze, edit tags, remove.
Shutdown (footer)
Stop the gitstow server and close the dashboard.
{% endblock %} {% block body_extra %} {% endblock %}