Git: Compare All Local Commits to Remote Repo Version

后端 未结 6 802
礼貌的吻别
礼貌的吻别 2020-12-14 06:40

I\'m somewhat new to Git and what I\'m trying to do seems like it should be possible. Basically I\'ve been working off of clone of a repo and have made quite a few local com

6条回答
  •  臣服心动
    2020-12-14 07:07

    for everything git diff HEAD origin/"nameofyourbranch"

    for specific file git diff HEAD:"filename" origin/"nameofbranch":"filename"

提交回复
热议问题