Skip to content

Repository Management

gtl keeps local repository discovery, URL shortcuts, and ignore patterns close to the terminal.

Find And Clone

bash
gtl find owner/repo
gtl find https://github.com/owner/repo --set-path
gtl clone owner/repo
gtl list --save
gtl repos ~/src

gtl find first checks saved paths, then the configured default-clone-path, then broader local search roots. Missing repositories can be cloned into default-clone-path.

Open And Print URLs

bash
gtl open
gtl o pr
gtl o run feature/my-branch
gtl url
gtl url run 18238
gtl url cp

gtl open opens matching repository, pull request, issue, and run URLs in the browser. gtl url prints those URLs instead and can copy them with cp.

Local Excludes

bash
gtl exclude setup
gtl exclude setup env macos
gtl exclude .env.local
gtl ignore

gtl exclude manages .git/info/exclude patterns. gtl ignore is a shortcut for common local-only ignore patterns.

bash
gtl link ../notes
gtl desktop

gtl link creates a symlink under .gtl/, keeps it out of Git, and keeps it visible to local search.

Released under the MIT License.