Git empty directories FAQ: How do I add an empty directory to a Git repository? Short answer: you can't. (See below for the workaround.) The design of the Git staging area only accounts for files, as described in the Git FAQ, and other books like Pro Git.
↧