So I wrote this small pre-commit hook: #!/bin/sh current_branch=`git branch | grep '*' | sed 's/* //'` if [ "$current_branch" = "master" ]; ...
確定! 回上一頁