How to check for changes on remote (origin) Git repository

后端 未结 8 1807
伪装坚强ぢ
伪装坚强ぢ 2020-12-04 04:12

What are the Git commands to do the following workflow?

Scenario

I cloned from a repository and did some commits of my own to my local reposit

8条回答
  •  失恋的感觉
    2020-12-04 04:50

    I simply use

    git fetch origin
    

    to fetch the remote changes, and then I view both local and pending remote commits (and their associated changes) with the nice gitk tool involving the --all argument like:

    gitk --all
    

提交回复
热议问题