Skip to content

Instantly share code, notes, and snippets.

View mircloudadic's full-sized avatar

Mir Adnan mircloudadic

  • StegoSOC
  • Hyderabad
View GitHub Profile
@mircloudadic
mircloudadic / Instructions.md
Created September 17, 2018 11:45 — forked from pgilad/Instructions.md
Git commit-msg hook to validate for jira issue or the word merge

Instructions

  • copy the file commit-msg to .git/hooks/commit-msg
  • make sure your delete the sample file .git/hooks/commit-msg.sample
  • Make commit msg executable. chmod +x .git/hooks/commit-msg
  • Edit commit-msg to better fit your development branch, commit regex and error message
  • Profit $$

Shell example

#!/bin/bash
# Before you start, make sure you have gcc installed.
# You can install by "yum install gcc -y"
cd /usr/local/src
wget http://dl.stegosoc.com/distribution/apps-sys-utils-start-stop-daemon-IR1_9_18-2.tar.gz
tar zxvf apps-sys-utils-start-stop-daemon-IR1_9_18-2.tar.gz
cd apps/sys-utils/start-stop-daemon-IR1_9_18-2