克隆和原始遠程存儲庫之間的git diff - git diff between cloned and original remote repository

問題:

I have cloned a github repository and made no changes locally. 我克隆了一個github存儲庫,並沒有在本地進行任何更改。 Github repository moved forward with commits on the same branch. Github存儲庫在同一分支上提交了提交。

  1. How do I find a diff between my local repository and the original github repository? 如何在本地存儲庫和原始github存儲庫之間找到差異?
  2. How do I find a diff between my working copy and the original github repository? 如何在我的工作副本和原始github存儲庫之間找到差異?
  3. How do I find a diff between my local repository and another github repository of the same project? 如何在本地存儲庫和同一項目的另一個github存儲庫之間找到差異?

解決方案:

參考一: https://en.stackoom.com/question/Lf4y
參考二: https://stackoom.com/question/Lf4y
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章