Keyboard shortcuts

Press โ† or โ†’ to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Install using Mise

Requirements

Mise

  1. Install Mise

  2. Check the installation with this command :

    mise --version
    

    If it has been well settled, it should output something like this :

                  _                                        __
       ____ ___  (_)_______        ___  ____        ____  / /___ _________
      / __ `__ \/ / ___/ _ \______/ _ \/ __ \______/ __ \/ / __ `/ ___/ _ \
     / / / / / / (__  )  __/_____/  __/ / / /_____/ /_/ / / /_/ / /__/  __/
    /_/ /_/ /_/_/____/\___/      \___/_/ /_/     / .___/_/\__,_/\___/\___/
                                                /_/                 by @jdx
    2026.5.12 linux-x64 (1980-01-01)
    mise WARN  mise version 2026.6.9 available
    

    Else if it has been badly settled, it should output something like this :

    mise: command not found
    

Git

git-gamble doesnโ€™t repackage git, it uses the one installed on your system

  1. Install git manually

  2. Make sure it is available in your $PATH, you can check it with this command :

    git --version
    

    If it has been well settled, it should output something like this :

    git version 2.54.0
    

    Else 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

Run this command :

mise use gitlab:pinage404/git-gamble

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

mise upgrade gitlab:pinage404/git-gamble --bump

Uninstall

mise unuse gitlab:pinage404/git-gamble

Improving installation

Installation is currently not really convenient, so contributions are welcome

Feel free to add package to your favourite package repository

Morty Proxy This is a proxified and sanitized view of the page, visit original site.