search

Home  >  Q&A  >  body text

git log -p vs. git show vs. git diff

Can you describe the difference? And there is no use for it

巴扎黑巴扎黑2791 days ago841

reply all(1)I'll reply

  • phpcn_u1582

    phpcn_u15822017-05-02 09:48:07

    git log -p

    View the comparison of each detailed modification

    git show $id

    Show the content of a certain submission

    git diff

    Compare the differences between the current file and the staging area file

    reply
    0
  • Cancelreply