How to create subdirectories in the repository

Eugene Zak August 20, 2016

This question is in reference to Atlassian Documentation: Create a Git or Mercurial repository

How to create subdirectories in the repository?

1 answer

1 vote
Rich Duncan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 21, 2016
  1. Clone it
  2. Create the desired subdirectories
  3. Put files in them
  4. Stage them ('git add' them)
  5. Commit
  6. Push

By default git doesn't handle empty directories

 

-Rich

 

mozahedul May 30, 2017

Hello, Rich, Can you give me more clarification about this? 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events