Install on Debian
It should work on any Debian based distributions : Linux Mint, Ubuntu…
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
-
Go to the latest version of
git-gamble-debian -
Download the latest version
git-gamble_2.14.6_amd64.deb -
Install package
Execute this command as root :
dpkg --install git-gamble*.deb
Note: the latest version, not yet released, is also available
This is not really convenient, but a better way could come when GitLab Debian Package Manager MVC will be 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
Execute this command as root :
dpkg --remove git-gamble
Improving installation
Installation is currently not really convenient, so contributions are welcome
Feel free to add package to your favourite package repository