An extra useful set of Git related commands. Requires that you have Git installed. Run git_extra
to see the full list.
| Command | Description |
| -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| browse
| Browse to the site hosting the origin
for the current repo. Uses git remotes -vv
to determine the correct site to open. Currently supports Git, GitLab, BitBucket or a self hosted Gitea site. |
The current release is only tested on macOS.
Download and install with:
sh
cargo install git_extra
You can configure the commands in your .gitconfig
configuration by running git config --global --edit
and adding:
toml
[alias]
browse = !git_extra browse
This will allow you to type git browse
to browse to the repository web page.