kria

Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

5 Neutral

About kria

  • Rank
    Curious George

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. KerbalGit 0.3.0 released with support for KSP 1.1 and Unity 5. Make sure to pick the correct libgit2 binary, depending on if you run KSP in 32-bit or 64-bit mode.
  2. To avoid that problem you could move your repository so it's not stored in the saves folder. Run the following in the saves folder: git init --separate-git-dir=../saves.git This will move the .git folder up to ksp folder as saves.git/ and leave a .git file that links to the repository so the working dir is still connected. I made a plugin called KerbalGit, that sets up a git repo for the saves folder and automatically commits on certain events.
  3. I got tired of messing up missions and not being able to revert to a good point, so I made a simple plugin to version control the saves directory using Git. Jebretary is probably a better choice for most people, but if you know your way around Git and just want a simple plugin that does commits, then maybe KerbalGit can be of use. https://github.com/kria/KerbalGit The plugin is very basic and doesn't have a UI. Don't install KerbalGit unless you are comfortable using Git! When first run, the plugin will set up a Git repository for the saves/ directory. The .git/ directory itself is placed in GameData/KerbalGit/. The plugin is invoked and commits changes on three events: autosave quicksave (F5) save in VAB/SPH OS support I have only tried KerbalGit on Windows. The plugin uses LibGit2Sharp 0.17 which relies on the the native library libgit2. A Windows binary (git2-06d772d.dll) is included, but separate builds are needed for Linux and OSX. Installation Get the latest release. Copy GameData/KerbalGit/ to your KSP directory. Copy git2-06d772d.dll (on Windows) to the root of your KSP directory. Pick the correct one from NativeBinaries/ depending on if you run KSP in 32-bit or 64-bit mode. Configuration You can exclude any files and directories that you don't want to have under version control in saves/.gitignore. In GameData/KerbalGit/settings.cfg, you can set the minimum interval (in seconds) between commits and the committer's name and email.