git diff between remote and local repo

后端 未结 4 1309
清歌不尽
清歌不尽 2020-12-07 10:56

Trying to diff my local file with a GitHub repo before I submit a pull request so I can see what will show up, is there an accurate way of doing this? I assume

4条回答
  •  一向
    一向 (楼主)
    2020-12-07 11:52

    You can use: git diff remote/my_topic_branch my_topic_branch

    Where my_topic_branch is your topic branch.

提交回复
热议问题