git town repo
git town repo [<remote-name>] [-v | --verbose]
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.
On non-Windows systems, Git Town will first read the BROWSER
environment
variable to determine the browser command. If it isn’t set, Git Town will try
various common commands like open
, xdg-open
, or x-www-browser
.
Positional arguments
When called without arguments, the repo command shows the repository at the development remote.
When called with an argument, it shows the repository at the remote with the given name.
Options
-v
--verbose
The --verbose
aka -v
flag prints all Git commands run under the hood to
determine the repository state.
Configuration
Git Town automatically identifies the hosting platform type through the URL of the development 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.