Skip to content
Versora

Manual

Repository

Repository

2 min read

On this page

This section covers what applies to the whole repository, not to a commit or a branch: how it's put together (submodules, Git LFS, sparse checkout, shallow or partial clone), how it's stored (optimization, the SHA-256 and reftable formats), how files are read (encodings and line endings) and which Git it depends on.

Where these features appear

  • Left panel: the SUBMODULES section and, at the bottom of the list of sections, the GIT LFS and SPARSE CHECKOUT rows, which open each feature's screen.
  • Repository bar: notices with an action, when they apply:
    • "Submodule of ‹parent›" and Back to ‹parent›, in a submodule tab;
    • Shallow clone, with Fetch more history… and Fetch full history;
    • Partial clone;
    • "Sparse checkout · N folders", with Configure…;
    • "This repository uses Git LFS, which isn't installed", with Details…;
    • "Git LFS isn't enabled in this repository", with Enable here.
  • File lists: the sub (submodule) and LFS (file in Git LFS) badges.
  • Tab menu and palette: Optimize repository…
  • Top of the window: the warning bar when the installed Git is old.

Pages in this section

How to undo, in general

Submodules, LFS, sparse checkout and optimization don't change branches, tags or HEAD. That's why these operations aren't part of Ctrl+Z: each page says how to go back, almost always with the opposite action.

See also