This file contains hidden or 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
[core] | |
excludesfile = ~/.gitignore_global | |
attributesfile = ~/.gitattributes | |
[hub] | |
protocol = https | |
[user] | |
name = kibitan | |
email = [email protected] | |
[color] | |
diff = auto |
This file contains hidden or 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 | |
current_branch = `git symbolic-ref --short HEAD` | |
# ブランチ名が iss-{Github Issue ID} の場合 | |
if /^iss-(\d+).*/ =~ current_branch | |
issue_id = $1 | |
commit_msgs = File.readlines(ARGV[0]) | |
puts 'setup `ghi` command via https://github.com/stephencelis/ghi' unless system('which ghi > /dev/null 2>&1') | |
%r{https://rollbar.com/.+/items/(\d+)} =~ `ghi show #{issue_id}` |
This file contains hidden or 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 | |
current_branch = `git symbolic-ref --short HEAD` | |
if /^iss-(\d+).*/ =~ current_branch | |
commit_msgs = File.readlines(ARGV[0]) | |
issue_id = $1 | |
puts 'setup `ghi` command via https://github.com/stephencelis/ghi' unless system('which ghi > /dev/null 2>&1') | |
%r{https://rollbar.com/.+/items/(\d+)} =~ `ghi show #{issue_id}` | |
rollbar_item_id = $1 |