| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
For more information see the blog post on pixelite. If this script has helped you or you want to leave a comment, you can do so on the blog.
This is covered in the actual script as well, but for the sake of making it easy to find:
cd [PATH TO DRUPAL GIT REPO] mkdir scripts curl -sL https://raw.githubusercontent.com/wiifm69/drupal-pre-commit/master/scripts/pre-commit.sh > ./scripts/pre-commit.sh ln -s ../../scripts/pre-commit.sh .git/hooks/pre-commit
On a side note, I normally encourage your Drupal docroot to be in a sub folder called docroot, this way the scripts directory will not be served via your web server.
I am also wanting people to submit pull requests as well.
| Back | FazBrowse Home | New Git URL |