Using Git how do I find changes between local and remote

前端 未结 11 1274
感情败类
感情败类 2020-11-29 15:16

Here are two different questions but I think they are related.

  1. When using Git, how do I find which changes I have committed locally, but haven\'t yet pushed

11条回答
  •  無奈伤痛
    2020-11-29 15:45

    Not a full answer but git fetch will pull the remote repo and not do a merge. You can then do a

    git diff master origin/master

提交回复
热议问题