Skip to content

Instantly share code, notes, and snippets.

View rdelandesen's full-sized avatar
👨‍💻
Working on something new

Romain de Landesen rdelandesen

👨‍💻
Working on something new
  • Former CTO of credit.fr and neocredit.ch
  • Paris, France
View GitHub Profile
@rdelandesen
rdelandesen / prepare-commit-msg
Created May 27, 2017 19:34
Commit message with JIRA branch name
#!/bin/sh
#
# Prepend the branch name to the commit message
#
# Example
# # On branch BRA-1_homepage
# git commit -m "Responsive menu"
# # => [BRA-1] Responsive menu
#
# Add this file as [repo]/.git/hooks/prepare-commit-msg