如何使用 Github 桌面将 Github 存储库克隆到本地设备

How to clone Github repository to local device with Github Desktop

我和我的朋友正在做一个项目。他进行了一些更改并将它们添加到 github 上的项目中。我在 github 中的项目上单击克隆,然后它打开了 github 桌面,现在我有 1 个向上箭头和 16 个向下箭头。

我相信这意味着我有一个未提交的更改和 16 个更改准备好被拉取,但不知道如何找到这个更改,或者如果我提交更改,它会带走所有已经在 github 还没有在本地吗?

只是不希望所有内容都被删除。谢谢

I have a non-committed change and 16 changes ready to be pulled, but no idea how to find this change,

实际上已提交更改:您有一个本地提交。

您可以:

  • 备份您的本地存储库
  • 确保你有自动存储和变基
  • 然后通过 GitHub 桌面界面拉取。

即():

git config --global pull.rebase true
git config --global rebase.autoStash true