hartungdesign.net wiki
hartungdesign.net wiki
  • Tools
    • User Tools
    • Log In
    • Site Tools
    • Recent Changes
    • Media Manager
    • Sitemap
    • Page Tools
    • Show pagesource
    • Old revisions
    • Backlinks
    • Back to top
  • Log In

  1. You are here
  2. Home
  3. docs
  4. git
  5. adding_empty_folders
  1. Trace
  2. submodules
  3. backing_up_repository
  4. git_gui
  5. multiple_users_with_a_public_repository
  6. adding_empty_folders

docs:git:adding_empty_folders

  • Show pagesource
  • Old revisions
  • Backlinks
  • Back to top
  • Share via
    • Share via...
    • Twitter
    • LinkedIn
    • Facebook
    • Pinterest
    • Telegram
    • WhatsApp
    • Yammer
    • Reddit
  • Recent Changes
  • Send via e-Mail
  • Print
  • Permalink

adding empty folders

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.txt
  • Last modified: 2012/09/21 23:28
  • by billh
hartungdesign.net wiki

hartungdesign.net wiki


  • Bootstrap template for DokuWiki
  • Powered by PHP
  • Valid HTML5
  • Valid CSS
  • Driven by DokuWiki