Replies: 2 comments
-
It appears that an overlay filesystem may be appropriate. However, I don't believe that overlay filesystem mounts are supported by devcontainers. Perhaps I am wrong though. Still a bit stuck on this |
Beta Was this translation helpful? Give feedback.
-
Stop me if I'm changing the subject. You've probably seen One could You could then |
Beta Was this translation helpful? Give feedback.
-
Question
What is the best way to use git inside a devcontainer if you are developing an addon for a base image where the base image should not be changed?
Background
.git/
folder and push my code via the git cliIdeally I would love to be able to make the base container read only and have it be ignored by git.
Challenge
.gitignore
like the following, but then I need to manually specify each file I want to not ignoredevcontainer.json
particularly verbose.gitignore
, I end up having to append to two files every time I want to add a new file at the root of the workspaceBeta Was this translation helpful? Give feedback.
All reactions