vscode-dev-containers icon indicating copy to clipboard operation
vscode-dev-containers copied to clipboard

Dev Container not persisting source code changes outside of container

Open theonepichael opened this issue 1 year ago • 1 comments

Situation: Opening an existing folder in dev container

None of the changes made to the source code in the dev container are persisted after container is stopped. That includes changed committed to Git. Where is the setting that enables this behavior?

theonepichael avatar Apr 12 '23 11:04 theonepichael

Greetings!! I also made a Stack Overflow post about this with some additional details and code included :o)

https://stackoverflow.com/questions/76103324/how-do-i-export-code-changes-from-devcontainer-to-the-local-directory

fultonardo avatar Jun 13 '23 19:06 fultonardo