Skip to content

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

License

Notifications You must be signed in to change notification settings

Babilinski/git-hook-utility

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published