mirror of
https://github.com/godotengine/godot-git-plugin.git
synced 2026-01-01 01:48:28 +03:00
bcdff66014b2017dfda56da7db796a4bc95c2257
GDNative Based Git Plugin for Godot Version Control Editor Plugin
Git implementation of the Godot Engine VCS interface in Godot. We use libgit2 as our backend to simulate Git in code.
Planned for the upcoming version of Godot. Look for other branches for support in other Godot releases.
Installation Instructions
- Grab the platform binaries here: https://github.com/godotengine/godot-git-plugin/releases
- Then read the installation instructions: https://github.com/godotengine/godot-git-plugin/wiki
Build Instructions
Pre-requisites
Required build tools:
Windows
MSVC is our recommended compiler for Windows
- Load the x64 command prompt:
x64 Native Tools Command Prompt for VS 20XX. - Run
build_libs.bat Release. - Run
scons platform=windows target=release
Linux
G++ is our recommended compiler for Linux
- Prepare script for execution:
chmod 755 build_libs.sh - Run
. ./build_libs.sh Release. - Run
scons platform=x11 target=release.
MacOS
G++ and Clang++ are our recommended compilers for MacOS
- Prepare script for execution:
chmod 755 build_libs_mac.sh - Run
. ./build_libs_mac.sh Release. - Run
scons platform=osx target=release.
Note: Compiling for the Apple Silicon architecture is not supported yet.
Debug build
Replace Release with Debug and release with debug in the above instructions for a debug build. You will also have to do the same in the paths mentioned in demo/git_api.gdnlib before opening the demo project in Godot.
Languages
C++
61.8%
Python
35.7%
Shell
2.5%