Using Git how do I find changes between local and remote

前端 未结 11 1304
感情败类
感情败类 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:41

    I would do

    $ git fetch --dry-run
    

    for hg incoming and

    $ git push --dry-run
    

    for hg outgoing.

提交回复
热议问题