如何在 git 存储库中获取新的子目录?
How to fetch new subdirectories in git repository?
git 存储库 ArduPilot 在 ardupilot/libraries/SITL/examples/ 中有一个新的子目录,新目录是 JSON。当我克隆存储库时,该目录不存在,并且不在我的本地副本中。我使用什么命令来更新本地存储库以匹配远程存储库?
这是本地状态
$ git status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
但是,我可以在 git 中心页面中看到新目录。
我必须做“git 获取原点”,而不是“git 获取”或“git 拉”。
git 存储库 ArduPilot 在 ardupilot/libraries/SITL/examples/ 中有一个新的子目录,新目录是 JSON。当我克隆存储库时,该目录不存在,并且不在我的本地副本中。我使用什么命令来更新本地存储库以匹配远程存储库?
这是本地状态
$ git status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
但是,我可以在 git 中心页面中看到新目录。
我必须做“git 获取原点”,而不是“git 获取”或“git 拉”。