
fully functional in-game Git client built into your Minecraft server
A fully functional in-game Git client built into your Minecraft server.
It allows server administrators to commit, push, pull, fetch, and manage Git repositories without ever leaving the game.
Compatible with:
1.21.421init, add, commit, push, pull, etc./git helpdisable-unsafe-warning: false
When
disable-unsafe-warningisfalse, you cannot add public Git hosts (e.g.,github.com,gitlab.com).
You're encouraged to use self-hosted Git solutions like:
/git init --path=<dir>
/git add <file...> [--path=<dir>]
/git reset --hard|<file> [--path=<dir>]
/git commit --message="Your message" [--path=<dir>]
/git remote --add|--set-url|--remove --url=<url> [--path=<dir>]
/git push [--path=<dir>]
/git pull [--path=<dir>]
/git fetch [--path=<dir>]
/git login --username=<name> --token=<pat>
/git whoami
/git logout
/git help
Control access to Git commands via permissions (default: OP only):
gitcraft.command.add: op
gitcraft.command.commit: op
gitcraft.command.reset: op
gitcraft.command.init: op
gitcraft.command.remote: op
gitcraft.command.status: op
gitcraft.command.help: op
gitcraft.command.push: op
gitcraft.command.fetch: op
gitcraft.command.pull: op
gitcraft.command.login: op
gitcraft.command.whoami: op
gitcraft.command.logout: op
Use a permission plugin like LuckPerms to grant access to non-op users.