Мова

GitPuller

GitPuller

Modrinth

In-game Git management tool for datapacks.

621 завантажень 9 підписників оновлено 2mo ago
остання v1.3.0 Modrinth
Fabric 1.20.6 – 26.1.2 Utility

GitPuller

Private repository

If you want to use a private repository, you need to set up a token. You can easily generate a token on GitHub here.
Make sure to select the repo scope.

More information on how to set up a token can be found on the GitHub help page.

The mod first tries to use the token from the environment, then the config file. If the token is provided through the command, it will be used for the current session and override the other methods.

Environment token

You can use a (system) environment variable to set a token for all sessions.

Unix/Linux/macOS:

export GITPULLER_TOKEN=<token>

Windows:

CMD:

set GITPULLER_TOKEN=<token>

Powershell:

$Env:GITPULLER_TOKEN = "<token>"

Config file

You can also set up a token in the config file.

gitpuller.key=<token>

Temporary token

You can set up in game a token for your current session (will be lost after server restart).

/git token <token>

Commands Usage

Classic

# Checkouts to a branch, commit, tag or ref
git checkout <pack name> <branch>

# Clone a new repository into the world/datapacks folder. <pack name> is the name of the folder that will be created.
git clone <pack name> <url>

# Gets informations about the current repositories
git info

# Fetches changes for the selected pack. If the HEAD was the last available commit of the branch but new ones got added, it will checkout to the latest available commit. 
git pull <pack name>

# Use a temporary token (not recommended)
git token <token>

MonoRepo mode

MonoRepo mode disables the git clone command and changes the syntax of others. More infos about mono repos in the monorepo section.

# Checkouts to a branch, commit, tag or ref
git checkout <branch>

# Gets informations about the current repository
git info

# Fetches changes. If the HEAD was the last available commit of the branch but new ones got added, it will checkout to the latest available commit. 
git pull

# Use a temporary token (not recommended)
git token <token>

MonoRepo

Starting from versions 1.1.0+, GitPuller supports a monorepo mode.

This mode considers the /world/datapacks/ folder as a single repository instead of a collection of repositories. This means that the /git commands now interact only with the monorepo and not with the individual repositories. The syntax of some commands has changed to reflect this more infos in the commands section.

To enable this mode, you need to set the gitpuller.monorepo option by the URL of your distant repository in the config.

gitpuller.monorepo=<url>

Leaving this option empty or removing the entry from the config will disable the monorepo mode.

⚠️ WARNING: your /world/datapacks/ folder must be empty before enabling this mode.

Версії

Release
1.3.0
fabric · 26.1, 26.1.1, 26.1.2 · 2mo ago
- Update to support 26.1+ versions
44
Release
1.2.0
fabric · 1.21.11 · 6mo ago
- Supports 1.21.11. - (Singleplayer) Integrated servers are now supported (was previously only supporting dedicated servers.
100
Release
1.1.3
fabric · 1.21, 1.21.1, 1.21.2 · 9mo ago
Makes the mod cross versions compatible. Still requires the Fabric API matching the version of your server.
79
Release
1.1.2
fabric · 1.21.7, 1.21.8 · 11mo ago
Updates to 1.21.7
32
Release
1.1.1
fabric · 1.21.6 · 12mo ago
Update to 1.21.6
26
Release
1.1.0
fabric · 1.21.5 · 14mo ago
Mono repositories are now suppported. This new feature permits to consider ``world/datapacks/`` as the only git repository. This feature notably permits…
36
Release
1.0.5
fabric · 1.21.5 · 14mo ago
Update to 1.21.5
27
Release
1.0.4
fabric · 1.21.4 · 18mo ago
Update to 1.21.4
71
Release
1.0.2
fabric · 1.21.3 · 19mo ago
Update to 1.21.3
47
Release
1.0.1
fabric · 1.21, 1.21.1 · 23mo ago
- Update to 1.21 - Adds the mod logo
99
Release
1.0.0
fabric · 1.20.6 · 23mo ago
First release!
60

Коментарі 0

Поки немає коментарів. Будь першим, хто поділиться думкою.

Завантажити GitPuller

Файли надаються напряму з першоджерела. Modgrid не зберігає та не змінює їх.