git town repo

git town repo [remote-name]

The repo command ("show me the repository") opens the homepage of the current repository in your browser. Git Town can display repositories hosted on GitHub, GitLab, Gitea, and Bitbucket.

Positional arguments

When called without arguments, the repo command shows the repository at the origin remote.

When called with an argument, it shows the repository at the remote with the given name.

Configuration

Git Town automatically identifies the hosting platform type through the origin remote. You can override the type of hosting server with the hosting-platform setting.

Set the hosting-origin-hostname setting to tell Git Town about the hostname when using ssh identities.

--verbose / -v

The --verbose aka -v flag prints all Git commands run under the hood to determine the repository state.