Skip to content

gtl find

Search parent directories for git repositories matching name. When passed a GitHub repository URL, return the configured repo path, the closest local clone path, or clone into the configured default-clone-path. Use --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, the closest local clone path, or clone into the configured default-clone-path. Use --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:
  -h, --help       help for find
      --open       Open a shell in the resolved repository path
      --set-path   Save the resolved repository path in global config

Released under the MIT License.