The repository is like this. The notes directory is empty. How can I keep the empty directory?
$ tree . ├── Gemfile ├── Gemfile.lock ├── README.md ├── deleted.enex ├── notes # <- The empty directory ├── parse.rb └── parse_to_notable.rb 1 directory, 6 files
put an empty file at the directory.
.gitkeep is popularly used.
$ touch notes/.gitkeep $ ls -A notes/ .gitkeep