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.
Works in GitTree Free: every local Git feature, once you are signed in.
On this page
Before you start
- A folder that holds your projects, such as
~/code.
Where to find it
- The command palette: Scan for Repositories….
| Action | macOS | Windows and Linux |
|---|---|---|
| The command palette, then Scan for Repositories… | ⌘⇧P | Ctrl+Shift+P |
Steps
Choose a folder
Run Scan for Repositories… and pick the folder. GitTree finds repositories up to three folders deep.
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.
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.