Git

Git | Display difference from current branch root

Register an alias in .gitconfig.

 [alias] branch-root = merge-base master HEAD remember = !git diff $(git branch-root) 

By this. Just hit $ git remember . It will display the difference from the current branch root.


environment


  • git version 2.3.8 (Apple Git-58)


Original by

Git | 現在のブランチルートからの差分を表示する


About

About this translattion