Search code examples
gitcloudcodenvy

codenvy: How to create a persistent file?


I'm learning codenvy.io, and have most of my code in git. This part works well with projects.

However, the code has a secrets file, which is not in git, but is created on the individual computers that you are running the code on. Using codenvy, this file is removed everytime I restart my workplace.

Is there a way to tag this file as "persistent", even though it cannot be in git?


Solution

  • Currently, codenvy.io restore and backup processes respect .gitignore. You may however, put your sensitive files outside /projects and they will be persisted when a workspace is snapshotted.