Hide local variables for gitlap

EDDY
Level 1
Hide local variables for gitlap

Hello,

i have set local variables in a project, which are used in a python script. As soon we push the project to gitlap we get a file in gitlab like this:

 

JSON_IN_GITLAP.PNG

Is it possible to exclude this file in the export to gitlab?

Thank you!


Operating system used: Linux

0 Kudos
1 Reply
JordanB
Dataiker

Hi @EDDY,

There is no way to prevent certain files from getting exported via the UI, however, you can use a .gitignore file in the project folder to exclude localvariables.json. Note, you would first need to remove the localvariables.json file from the remote repo and then push the project from DSS. 

Let us know if you have any questions.

Thanks!

Jordan

0 Kudos