LoginSignup
1

More than 5 years have passed since last update.

gitでログを確認しつつ変更差分を確認する

Posted at

tigを使う

tig log develop...topic #=> `...`でつなぐことで両方のブランチに共通するコミットが除かれる

pecoを使う

$ git log develop...topic --no-merges --pretty="%h - %ar, %an: %s" | peco --exec 'awk '"'"'{print $1}'"'"' | xargs git show --patch '

こちらの方法は、スクリプト化した方が使いやすそうです。

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
1