Git Extra Commands
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. |
Installation
The current release is only tested on macOS.
Download and install with:
You can configure the commands in your .gitconfig
configuration by running git config --global --edit
and adding:
[]
= !git_extra browse
This will allow you to type git browse
to browse to the repository web page.
To Do
- Add a
fork
command that will fork and addorigin
andupstream
remotes - Add a
set-config
command that updates local config based on a cloud based config - Add a
quickstart
command that creates a new repo based on the URL of a repo and which optionally runs a postclone
cofiguration script