LoginSignup
0
0

More than 5 years have passed since last update.

○日間にマージされたすべてのPRをブラウザで開くワンライナー

Posted at

入りたての会社でキャッチアップの為に表題のことがしたいなと思いやってみた。(hubが必要)

for e in `git log --since=1.days | grep 'Merge pull request' | cut -d '#' -f 2 | cut -d ' ' -f 1`; do hub browse -- issues/$e; done

git logのオプションはなんでもよいので、例えば Railsのバージョン間のPRを見たい時にも使える(かもしれない)

for e in `git log v5.2.1..v5.2.2 | grep 'Merge pull request' | cut -d '#' -f 2 | cut -d ' ' -f 1`; do hub browse -- issues/$e; done
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0