Git Hook Utility by Babilinski - 2

Tools

Add unity's recommended git-hooks to your project with a single click.

Unity 2018.3.4f1Unknown LicenseUpdated 91 days agoCreated on August 17th, 2019
Go to source

Unity Githooks Utility

Add git-hooks to your unity project with a click

Git-hooks are an easy eay to prevent your team from pushing and pulling empty directories when working with Unity and Git. The only issue is, git hooks do not transfer. This means that anytime you pull down a new project you have to re-add the git hooks. So I made a unity editor tool that adds the githooks to the unity project and it’s submodules with a click of a button.

Screenshot of the GitHook Utility Window Screenshot of the GitHook Utility Window

Features

This tool also allows you to:

  • Transfer the Githook files from a directory inside of your project, to the .git/hooks folder
  • Change your project’s serialization settings to match Unity’s Recommendations

Installation

  • Importing the .unity package
    • Download the package from this git repository
    • Import the package into your project Assets/Import Package/Custom Package…
    • Complete the Import Package Dialogue
  • Open the the GitHooks Utility Window (Tools/GitHoot-Utility)
    • Naviage to the “tools” drop-down menu located at the top of Unity’s Application Window

Credits

The githooks that are included in the project come from git user Doitian: doitian/unity-git-hooks

License

MIT

Show all projects by Babilinski