Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env ruby
- if `git branch`.chomp.split("\n").find { |e| e == '* master' }
- puts 'ここはmasterブランチ。許可のないやつは通せないぜ > 乂・д・)'
- exit false
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement