Shell
関数の定義 .zsh_aliasや.bash_aliasに書いておく。 # カレントブランチから$1ブランチへのPullRequestを開く function opr() { parentBranch=$1 currentBranch=`git branch | grep "*"` repoName=$(git remote show origin -n | ruby -ne 'puts /^\s*Fetch.…
関数の定義 .zsh_aliasや.bash_aliasに書いておく。 # カレントブランチから$1ブランチへのPullRequestを開く function opr() { parentBranch=$1 currentBranch=`git branch | grep "*"` repoName=$(git remote show origin -n | ruby -ne 'puts /^\s*Fetch.…