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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="description" content=""> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Solution</title> | |
<link rel="stylesheet" href="css/style.css"> | |
<link rel="author" href="humans.txt"> | |
</head> |
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 | |
# Hook into the message and append the branch name so that we don't have to | |
# manually do it ourselves! | |
# This is the message that you put when you do: | |
# `git commit -m "This is my message" | |
message_file = ARGV[0] | |
message = File.read(message_file).strip | |
branch_name = `git rev-parse --abbrev-ref HEAD`.strip |