Skip to content

Instantly share code, notes, and snippets.

View niltonmelox's full-sized avatar

Nilton Melo niltonmelox

View GitHub Profile
@niltonmelox
niltonmelox / 1.md
Created February 1, 2024 06:42 — forked from 8bitDesigner/1.md
Git post-merge hook which, when you run `git merge` or `git pull` will then `bundle` if the project's Gemfile changed, or `npm install` if the project's package.json changed.Inspired and based off of https://gist.github.com/bumi/5706550

Make bundleing and npm installing easy

This repo has some handy handy hooks to run bundle or npm install whenever you:

  • git checkout a new branch with a different Gemfile or package.json
  • git pull a change to Gemfile or package.json

How can I has this!!?

  1. git clone https://gist.github.com/5869846.git hooks && cd hooks && chmod +x install
@niltonmelox
niltonmelox / test_gist.php
Created September 12, 2017 17:14
test gist
about it