Skip to content

Instantly share code, notes, and snippets.

View Ashaba's full-sized avatar

Ashaba Ashaba

  • Kampala
View GitHub Profile
#!/bin/sh
#
# An example hook script to verify what is about to be committed.
# Called by "git commit" with no arguments. The hook should
# exit with non-zero status after issuing an appropriate message if
# it wants to stop the commit.
#
if git rev-parse --verify HEAD >/dev/null 2>&1
then
against=HEAD