Gitup Mod adds automatic Git-based backups for both clients and servers so your worlds and files stay versioned. It runs directly through your installed Git CLI and pushes snapshots on a custom timer set in seconds, minutes, hours, days, weeks, or years. Every credential stays inside the Git CLI itself and is never read or stored by this mod, while all network traffic uses the remotes already set up in your repository. To work, this mod needs Cloth Config API, the Git CLI on your system PATH, and an existing Git repository with push access in your game instance.

Gitup Mod

Features:

  • Client and Server Git Backups: Automates Git-based backups across both client instances and dedicated servers using standard Git commands.
  • Custom Backup Timers: Runs backups on a custom schedule with pushInterval and pushIntervalUnit, accepting SECONDS, MINUTES, HOURS, DAYS, WEEKS, or YEARS, or turns scheduled pushes off by setting the interval to 0.
  • Private Credential Handling: Leaves all credentials directly to your local Git CLI without ever reading or storing them inside the mod.
  • Custom Git Flags and Commit Formats: Passes extra CLI flags to git fetch, git pull, git add, git commit, git push, and git diff-index, and formats commit messages with Java DateTimeFormatter patterns.
  • Limits all network activity strictly to Git commands running against the remotes already set up for your game instance repository.
  • Stores every backup option inside a single mods/gitup.json file that you can edit after starting the game.

Configuration:

  • extraArgs.fetch: Adds extra command-line flags whenever the mod runs git fetch.
  • extraArgs.pull: Adds extra command-line flags whenever the mod runs git pull.
  • extraArgs.add: Adds extra command-line flags whenever the mod runs git add.
  • extraArgs.commit: Adds extra command-line flags whenever the mod runs git commit.
  • extraArgs.push: Adds extra command-line flags whenever the mod runs git push.
  • extraArgs.diff_index: Adds extra command-line flags whenever the mod runs git diff-index.
  • pushInterval: Sets how often the mod attempts to create a backup; set to 0 to turn automatic backups off.
  • pushIntervalUnit: Sets the time unit for pushInterval; accepts SECONDS, MINUTES, HOURS, DAYS, WEEKS, and YEARS.
  • commitMessageFormat: Sets the message pattern passed to git commit using Java DateTimeFormatter format tokens.
  • lastPushTimestamp: Records the timestamp of the last backup and should generally be left untouched by most players.

How to Use:

  1. Install the Git CLI on your computer or server, verify it is available on your system PATH, and make sure your game instance already has a Git repository with push privileges.
  2. Place this mod together with Cloth Config API into your mods folder.
  3. Launch the game once so the mod creates its settings file at mods/gitup.json.
  4. Open mods/gitup.json and set pushInterval and pushIntervalUnit (SECONDS, MINUTES, HOURS, DAYS, WEEKS, or YEARS) to match how often you want backups pushed, or set pushInterval to 0 to pause automatic backups.
  5. Customize commitMessageFormat with a Java DateTimeFormatter pattern and add any extra CLI options under extraArgs.fetch, extraArgs.pull, extraArgs.add, extraArgs.commit, extraArgs.push, or extraArgs.diff_index as needed, leaving lastPushTimestamp unchanged.

Gitup Mod Download Links

Filter by

For Minecraft 26.3

Click to rate this post!
[Total: 0 Average: 0]
QUICK MINECRAFT SURVEY · ONE TAP
Mods & Modpacks

How often do you play pre-made modpacks instead of making your own?

67 responses · See the full results →