philwilson.org

1 post tagged with "repository"

See all tags and the latest posts

Stop yourself from committing to master with git hooks

03 April, 2019 - 264 words
This is based on the excellent work of Aaron Hoffman which he’s written up here. This process adds two git hooks to your repositories which prevent you from committing or pushing to a branch named master. Add directories Git hooks liv...

read more