All Projects → CompSciLauren → Awesome Git Hooks

CompSciLauren / Awesome Git Hooks

Licence: cc0-1.0
⚓️ A curated list of awesome git hooks

Programming Languages

shell
77523 projects
bash
514 projects
script
160 projects

Projects that are alternatives of or similar to Awesome Git Hooks

Pywinauto
Windows GUI Automation with Python (based on text properties)
Stars: ✭ 3,175 (+380.33%)
Mutual labels:  automation, hooks
Pre Commit Terraform
pre-commit git hooks to take care of Terraform configurations
Stars: ✭ 902 (+36.46%)
Mutual labels:  automation, hooks
Webhook
webhook is a lightweight incoming webhook server to run shell commands
Stars: ✭ 7,201 (+989.41%)
Mutual labels:  automation, hooks
Release It
🚀 Automate versioning and package publishing
Stars: ✭ 4,773 (+622.09%)
Mutual labels:  automation, hooks
Fantoccini
A high-level API for programmatically interacting with web pages through WebDriver.
Stars: ✭ 619 (-6.35%)
Mutual labels:  automation
Iris
Iris is a highly configurable and flexible service for paging and messaging.
Stars: ✭ 598 (-9.53%)
Mutual labels:  automation
Gatling
Modern Load Testing as Code
Stars: ✭ 5,381 (+714.07%)
Mutual labels:  automation
Coca
Coca is a toolbox which is design for legacy system refactoring and analysis, includes call graph, concept analysis, api tree, design patterns suggest. Coca 是一个用于系统重构、系统迁移和系统分析的瑞士军刀。它可以分析代码中的测试坏味道、模块化分析、行数统计、分析调用与依赖、Git 分析以及自动化重构等。
Stars: ✭ 576 (-12.86%)
Mutual labels:  automation
Rex
Rex, the friendly automation framework
Stars: ✭ 653 (-1.21%)
Mutual labels:  automation
Makin
makin - reveal anti-debugging and anti-VM tricks [This project is not maintained anymore]
Stars: ✭ 645 (-2.42%)
Mutual labels:  hooks
Infospider
INFO-SPIDER 是一个集众多数据源于一身的爬虫工具箱🧰,旨在安全快捷的帮助用户拿回自己的数据,工具代码开源,流程透明。支持数据源包括GitHub、QQ邮箱、网易邮箱、阿里邮箱、新浪邮箱、Hotmail邮箱、Outlook邮箱、京东、淘宝、支付宝、中国移动、中国联通、中国电信、知乎、哔哩哔哩、网易云音乐、QQ好友、QQ群、生成朋友圈相册、浏览器浏览历史、12306、博客园、CSDN博客、开源中国博客、简书。
Stars: ✭ 5,984 (+805.3%)
Mutual labels:  automation
Vue Use Web
🕸 Web APIs implemented as Vue.js composition functions
Stars: ✭ 603 (-8.77%)
Mutual labels:  hooks
Retro Board
Retrospective Board
Stars: ✭ 622 (-5.9%)
Mutual labels:  hooks
Openrpa
Free Open Source Enterprise Grade RPA
Stars: ✭ 596 (-9.83%)
Mutual labels:  automation
Jok3r
Jok3r v3 BETA 2 - Network and Web Pentest Automation Framework
Stars: ✭ 645 (-2.42%)
Mutual labels:  automation
Awesome Gulp
🍹 A curated list of awesome gulp resources, plugins, and boilerplates for a better development workflow automation - http://alferov.github.io/awesome-gulp
Stars: ✭ 577 (-12.71%)
Mutual labels:  automation
Headlessbrowsers
A list of (almost) all headless web browsers in existence
Stars: ✭ 5,511 (+733.74%)
Mutual labels:  automation
Meteor Collection Hooks
Meteor Collection Hooks
Stars: ✭ 641 (-3.03%)
Mutual labels:  hooks
Earlgrey
🍵 iOS UI Automation Test Framework
Stars: ✭ 5,353 (+709.83%)
Mutual labels:  automation
Graphql React
A GraphQL client for React using modern context and hooks APIs that is lightweight (< 3.5 KB size limited) but powerful; the first Relay and Apollo alternative with server side rendering.
Stars: ✭ 611 (-7.56%)
Mutual labels:  hooks

Awesome Git Hooks
Awesome Git Hooks

Awesome Lists PRs welcome

Awesome Git Hooks

⚓️ Easy-to-use git hooks for automating tasks during git workflows.

Git hooks are custom scripts you can use to automate tasks which are triggered before or after a git command is executed. There are two groups of these hooks: client-side and server-side. Client-side hooks are triggered by operations such as committing and merging, while server-side hooks run on network operations such as receiving pushed commits. This repo contains helpful resources as well as a variety of git hook scripts that can be easily customized to serve different purposes.

✔️ Nothing to install/download

✔️ Code is well-documented

✔️ Grab & go! Copy the code you want to use and paste into your .git/hooks folder

Contributions are always welcome! Please see our Contribution Guidelines. Also, if you don't find the script you want below, you can create a new issue to request it.

Contents

Git Hook Scripts

Note: The icon next to each script signifies what language it is written in.

icon language
Bash Icon bash
Python Icon python
Perl Icon perl

commit-msg

  • enforce-insert-issue-number - Make sure user did not delete the ISSUE-[#] string that was generated by prepare-commit-msg/insert-issue-number.hook. Python Icon

post-checkout

  • delete-pyc-files - Delete all .pyc files every time a new branch is checked out. Python Icon
  • new-branch-alert - Display a message when a new branch is checked out for the first time. Bash Icon

post-update

  • update-server-info - Prepare a packed repository for use over dumb transports (e.g. http). Bash Icon

pre-commit

prepare-commit-msg

pre-push

  • prevent-bad-push - Prevent push of commits where the log message starts with "WIP" (work in progress). Bash Icon

pre-rebase

  • prevent-rebase - Prevent topic branches that are already merged to 'next' branch from getting rebased, because allowing it would result in rebasing already published history. Bash Icon

query-watchman

  • fsmonitor-watchman - Output to stdout all files that have been modified since a given time. Perl Icon

update

  • update - Block unannotated tags from entering. Bash Icon

Quick Start

  1. Pick a hook, any hook! Try the "verify-name-and-email" one if you're not sure where to start.
  2. Navigate to your project's hooks folder (.git/hooks).
  3. You should see a list of files already in there. Create a new file called the exact commit type that you want to use (eg: "commit-msg", "pre-rebase", "pre-commit", etc). Do not give it an extension.

create new file

  1. Open your new file and paste the code from the hook you chose out of this repo (eg: verify-name-and-email.hook).
  2. Save file. Done! Now the git hook will be triggered automatically.

Tools

  • Husky - Manage git hooks with a nice user interface.

  • Overcommit - A fully configurable and extendable git hook manager.

  • Git Build Hook Maven Plugin - Install Git hooks and config during a Maven build.

  • CaptainHook - Git hooks manager for PHP developers.

  • pre-commit - A framework for managing and maintaining multi-language pre-commit hooks.

Written Guides

Video Guides

License

CC0
This work is licensed under a Creative Commons Attribution 1.0 International License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].