Download the binary
Requirements
git-gamble doesn’t repackage git, it uses the one installed on your system
-
Make sure it is available in your
$PATH, you can check it with this command :git --versionIf it has been well settled, it should output something like this :
git version 2.54.0Else if it has been badly settled, it should output something like this :
git: command not found
Using with old git version
Note : if you are using a very old version of git (below 2.36)
With old git version, git-gamble will fail with this error
git: 'hook' is not a git command. See 'git --help'.
The most similar commands are
fork
lock
root
Failed to execute `git hook run --ignore-missing pre-gamble -- pass` in . returns code 1
The pre-gamble hook returns code 1, but it should be 0
You can test the hook by executing : git hook run --ignore-missing pre-gamble -- pass
No tests have been run, and nothing has been committed or reverted
git 2.36 was released the 2022-04-18, and is now available in most package managers
If you can, try to upgrade git using your package manager
Else, to use git-gamble with git below 2.36, git-gamble’s hooks must be disabled by installing git-gamble with the option to disable the feature
Install
Only for Linux and Windows x86_64 :
- Download the binary on the release page
- Rename it to
git-gamble - Put it in your
$PATH
Note : the latest version, not yet released, is also available :
Check the installation
Check if all have been well settled :
git gamble --version
If it has been well settled , it should output this :
git-gamble 2.14.6
Else if it has been badly settled , it should output this :
git : 'gamble' is not a git command. See 'git --help'.
Update
There is no update mechanism
Uninstall
Just remove the binary from your $PATH