No release in over 3 years
Low commit activity in last 3 years
A CocoaPods plugin that syncs git hooks between team members
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.16
~> 12.3
 Project Readme

cocoapods-githooks

GitHooks is a simple CocoaPods plugin that syncs git hooks between team members. Create .git-hooks directory just beside your .git folder. Place all shared hooks into .git-hooks and commit to your repository. GitHooks plugin will copy shared hooks into .git/hooks directory and make them executable every time you running 'pod install' or 'pod update'.

Installation

$ gem install cocoapods-githooks

Usage

  1. Create '.git-hooks' directory in root of your project
  2. Add git hooks scripts into '.git-hooks'. You can leave file extension for Shell Scripts and don't need to worry about making them exetutable.
  3. Require 'cocoapods-githooks' plugin in your Podfile
plugin 'cocoapods-githooks'
  1. Run
$ pod install 

or

$ pod update

or

$ pod githooks

to sync git hooks.