Skip to content

Instantly share code, notes, and snippets.

@maxcnunes
Created September 25, 2013 20:03
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save maxcnunes/6705239 to your computer and use it in GitHub Desktop.
Save maxcnunes/6705239 to your computer and use it in GitHub Desktop.
Git keep empty folder: 1. Add a .gitkeep file inside the folder you want to keep 2. Then include this configuration in your .gitignore
path_your_folder/*
!path_your_folder/.gitkeep
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment