docs:git:adding_empty_folders

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

docs:git:adding_empty_folders [2009/10/22 16:17] – created billhdocs:git:adding_empty_folders [2012/09/21 23:28] (current) billh
Line 1: Line 1:
 ====== adding empty folders ====== ====== adding empty folders ======
-git does not allow empty folders in the repository because it tracks content.  To remedy this, you can create an empty .gitignore file in the folder, then add that file to the repository.+git does not allow empty folders in the repository because it tracks content.  To remedy this, you can create an empty file in the folder (I like to use .empty as the filename), then add that file to the repository.
  • docs/git/adding_empty_folders.1256249850.txt.gz
  • Last modified: 2009/10/22 16:17
  • by billh