英文:
AWS Sagemaker notebook instance not updating to latest changes in repo
问题
我的理解是,如果我停止然后重新启动Sagemaker笔记本实例,连接的Git存储库中的最新更改应该显示在笔记本中。然而,这并没有发生。我推送了更改到存储库,然后停止并重新启动笔记本,但它仍然保留了旧的更改。是否需要额外的步骤将存储库中的更改传输到笔记本实例中?
英文:
My understanding is that if I stop and then restart the Sagemaker notebook instance, that the most recent changes in the connected git repo should show up in the notebook. However, that is not happening. I pushed changes to the repo, then I stopped and restarted the notebook and it still had the old changes. Is there an extra step required to get the changes from the repo into the notebook instance?
答案1
得分: 1
你需要打开终端,使用git拉取更改并解决任何冲突。一旦完成,笔记本将包含来自存储库的更改。停止并重新启动笔记本不会自动加载连接存储库中的最新更改。
英文:
You have to open a terminal and pull the changes using git and resolve any conflicts. Once that is done, the notebook will have the changes from the repo. Stopping and restarting the notebook does not automatically load the recent changes in the connected repo.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论