AWS SageMaker笔记本实例未更新到存储库中的最新更改。

huangapple go评论104阅读模式
英文:

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.

huangapple
  • 本文由 发表于 2023年8月11日 00:38:07
  • 转载请务必保留本文链接:https://go.coder-hub.com/76877721.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定