Simple but powerful git integration for Unity 3D utilizing TortoiseGit (for Windows), SnailGit (for MacOS) or RabbitVCS (for Linux) user interface. A must have plugin if you use git as your version control system in your project.
Features
Usage
Installation
Overlay Icons
Screenshots
WiseGitIntegration.RequestSilence()
and WiseGitIntegration.ClearSilence()
to temporarily suppress any WiseGit pop-ups.WiseGitIntegration.RequestTemporaryDisable()
and WiseGitIntegration.ClearTemporaryDisable()
to temporarily disable any WiseGit handling of file operations and updates.GitContextMenusManager
methods to invoke TortoiseGit / SnailGit / RabbitVCS commands.WiseGitIntegration.*Async()
methods to run direct git commands without any GUI (check ExampleStatusWindow
).Check the screenshots below
NOTE: This was started as a quick fork of WiseSVN.
Do your file operations in Unity and the plugin will handle the rest.
User git operations are available in the menu (or right-click on any asset): Assets/Git/...
WARNING: Never focus Unity while the project is updating in the background. Newly added asset guids may get corrupted in which case the Library folder needs to be deleted.
Preferred workflow is to always work inside Unity - use the \"Assets/Git/...\" menus. \"Assets/Git/Pull All\" will block Unity while updating, to avoid Unity processing assets at the same time.
This is an issue with how Unity works, not the plugin iteself. Unity says its by "design".
npm install -g openupm-cli
openupm add devlocker.versioncontrol.wisegit
... or merge this to your Packages/manifest.json
(replace the package version XXXXX with current):
{
"scopedRegistries": [
{
"name": "package.openupm.com",
"url": "https://package.openupm.com",
"scopes": [
"devlocker.versioncontrol.wisegit"
]
}
],
"dependencies": {
"devlocker.versioncontrol.wisegit": "1.0.XXXXX"
}
}
Packages/manifest.json
{
"dependencies": {
"devlocker.versioncontrol.wisegit": "https://github.com/NibbleByte/UnityWiseGit.git#upm"
}