Next.js Discord

Discord Forum

How to commit a empty folder to github?

Unanswered
Maltese posted this in #help-forum
Open in Discord
MalteseOP
How to commit a empty folder to github?

1 Reply

@Maltese How to commit a empty folder to github?
Boston Terrier
1. Create a Folder that you want to commit
2. Create a .gitkeep file
3. Commit and Push.

You can have the folder comitted this way to preserve the layout.