vim ~/.gitconfig

# [alias]に以下を突っ込む
  pr = "!sh -c 'git fetch $1 pull/$2/head & git co FETCH_HEAD\n' -"

git pr {:remoteの名前} {:PRのid(#xxx)}

About

ウェブ界隈でエンジニアとして労働活動に励んでいる @gomi_ningen 個人のブログです

Copyright © 53ningen.com