Skip to content

gtl find

Search parent directories for git repositories matching name. When passed a GitHub repository URL, return the configured repo path or the closest local clone path. Use --clone to clone missing repositories into the configured default-clone-path, --set-path to save the resolved path, and --open to open a shell in that repository.

Aliases

f, path

Usage

bash
gtl find [search] [flags]

Full Help

text
Search parent directories for git repositories matching name. When passed a GitHub repository URL, return the configured repo path or the closest local clone path. Use --clone to clone missing repositories into the configured default-clone-path, --set-path to save the resolved path, and --open to open a shell in that repository.

Usage:
  gtl find [search] [flags]

Aliases:
  find, f, path

Flags:
      --clone      Clone the repository when no local path is found
  -h, --help       help for find
      --open       Open a shell in the resolved repository path
      --set-path   Refresh the saved repository path in global config

Released under the MIT License.