Turbogit (tug)
tug is a cli tool built to help you deal with your day-to-day git work. tug enforces convention (e.g. The Conventional Commits) but tries to keep things simple and invisible for you. tug is your friend.
Usage
Usage:
tug [command]
Available Commands:
branch Create a new branch
check Check the history to follow conventional commit
commit Commit staging area
completion Generate completion script
config Read or write config
help Help about any command
log Shows the commit logs.
tag Create a tag
version Print current version
Flags:
--config string config file (default is $HOME/.config/tug/tug.toml)
-h, --help help for tug
Installation
macOS
turbogit
is available on MacPorts and Homebrew.
Macports (preferred)
install
sudo port install turbogit
upgrade
sudo port selfupdate && sudo port upgrade turbogit
Homebrew
install
brew tap b4nst/homebrew-tap
brew install turbogit
upgrade
brew upgrade turbogit
Linux
Debian/Ubuntu
Install and upgrade:
Download the .deb file from the releases page
sudo apt install ./turbogit_*_linux_amd64.deb
Fedora
Install and upgrade:
Download the .rpm file from the releases page
sudo dnf install ./turbogit_*_linux_amd64.rpm
Centos
Install and upgrade:
Download the .rpm file from the releases page
sudo yum localinstall ./turbogit_*_linux_amd64.rpm
openSUSE/SUSE
Install and upgrade:
Download the .rpm file from the releases page
sudo zypper in ./turbogit_*_linux_amd64.rpm
Windows
turbogit
is available via scoop.
scoop bucket add scoop-bucket https://github.com/b4nst/scoop-bucket.git
scoop install turbogit
Prebuilt binary available from the release page.
Shell completion
Bash
source <(tug completion bash)
To load completions for each session, execute once:
Linux
tug completion bash > /etc/bash_completion.d/tug
MacOS
tug completion bash > /usr/local/etc/bash_completion.d/tug
Zsh
source <(tug completion zsh)
To load completions for each session, execute once:
tug completion zsh > "${fpath[1]}/_tug"
Fish
tug completion fish | source
To load completions for each session, execute once:
tug completion fish > ~/.config/fish/completions/tug.fish
Contributing
Thanks for getting involved in turbogit ❤️! Please read the Contributing guide, it will help you make your awesome contribution.