This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# | |
# Git commit-msg hook. If your branch name is in the form "US1234-postfix", or | |
# "US1234_postfix", it automatically adds the prefix "[US1234]" to commit | |
# messages. | |
# | |
# Example | |
# ======= | |
# | |
# git checkout -b US1234-some-cool-feature |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#This is a script that I made for quickly creating a new directory, GitHub repository, | |
#local respository, and linking the two up - all with one command! | |
#Dependencies: | |
#git | |
#github account & credentials | |
#the 'octokit' gem (gem install octokit) | |
#Usage: | |
#First, edit the script to include your GitHub username and password. |