I hereby claim:
- I am TSchuermans on github.
- I am tschuermans (https://keybase.io/tschuermans) on keybase.
- I have a public key whose fingerprint is F79F 9AC3 9034 521C 3011 108A 87AD 5177 5EBF 307B
To claim this, I am signing this object:
brew bundle |
brew bundle dump |
for dir in (find /Users/bob/projects/ -type d -maxdepth 1) | |
j -a $dir | |
end |
j projectX |
brew install autojump |
[ -f /usr/local/share/autojump/autojump.fish ]; and source /usr/local/share/autojump/autojump.fish |
# If the project does not have a repository yet, initialise it. | |
git init | |
# Rename the sample hook file | |
mv ./.git/hooks/commit-msg.sample ./.git/hooks/commit-msg | |
# Make the hook file executable | |
chmod +x ./.git/hooks/commit-msg | |
# Edit the hook file with your editor (atom, vi, sublime, ...) | |
atom ./.git/hooks/commit-msg | |
# Paste the content of | |
# https://gist.github.com/TSchuermans/eecf5c4c23aa96689445bb9f6103d75c |
#!/usr/bin/env bash | |
# .git/hooks/commit-msg | |
pattern="(JIRA|PROJECTKEY)\-[0-9]" | |
check=$(grep -E "${pattern}" "${1}") | |
if [[ "${check}" != "" ]]; then | |
exit 0 | |
else |
[alias] | |
logcompare = "!f() { git log --oneline --decorate develop..$(git rev-parse --abbrev-ref HEAD); }; f" |
I hereby claim:
To claim this, I am signing this object: