4 ms·
> That’s why the repo must have at least a main working tree It doesn't, e.g. bare repositories don't have a worktree. This is useful for e.g. backing up a git
by account42 1y ago
> That’s why the repo must have at least a main working tree
It doesn't, e.g. bare repositories don't have a worktree. This is useful for e.g. backing up a git repo to any SSH host by cloning a bare repository there and then adding it as an upstream of your local repo.