Diff

Commands

  • Between three trees

    • git diff working vs staging tree

    • git diff --staged stating vs repo tree

  • Between commits

    • git diff <c1> commit c1 vs HEAD

    • git diff <c1>..<c2> commit c1 vs c2

Last updated