Adding files inside the subdirectories
Author: MohamedAli00949Created Jan 14, 2026Updated Jan 21, 2026
Labels:beetle: bug
The problem
I am building an i18n app using Electron, so I have created 2 files for locale messages at the files msgs/ar.json and msgs/en.json.. I know this is not supported to push files with directories to Gist, but at first, take it my consideration.
At the first time of adding the messages files:
While trying to push the project:
After reopening the fiddle project:
The final project architecture:
My suggested solution:
Disable adding the files to directories to save the isolation of the scripts.
Also, validating the renaming of the file does not include the directory naming, such as path/to/file-name.
Source: electron/fiddle