Skip to content
GitTree
Repositories

Find repositories on disk

Scan for Repositories… looks through a folder you choose and lists every Git repository up to three folders deep. Nothing is opened until you choose; you can open one or add them to a workspace.

FreeUpdated

Works in GitTree Free: every local Git feature, once you are signed in.

On this page
  1. Before you start
  2. Where to find it
  3. Steps
  4. Expected result
  5. Large folders
  6. If something goes wrong
  7. Questions
  8. Related

Before you start

  • A folder that holds your projects, such as ~/code.

Where to find it

  • The command palette: Scan for Repositories….
ActionmacOSWindows and Linux
The command palette, then Scan for Repositories…⌘⇧PCtrl+Shift+P

Steps

  1. Choose a folder

    Run Scan for Repositories… and pick the folder. GitTree finds repositories up to three folders deep.

  2. Watch the results

    The list fills as the scan runs, with Scanning… … found so far. Choose Stop Scan to stop early; what was found stays.

  3. Open or add

    When the scan ends, choose Open on a repository, Add it to the current workspace, or Add All to … for every result.

Expected result

The repositories you chose are open or listed in your workspace; nothing else changed on disk.

Large folders

A scan has a limit. If it stops there, GitTree says so: choose Scan Another Folder… with a narrower folder to see the rest.

If something goes wrong

“No repositories found”

No folder contains a repository within three levels. Scan a folder closer to your projects.

Open is not available yet

Stop the scan, or wait for it to finish, before opening a result.

Questions

Does scanning change anything?

No. It only reads folder names; nothing is opened or added until you choose.