Viktor Viktor - 1 year ago 324
Git Question

How to create folder in github repository?

I want to create folder in github repository and add files in that folder. How to achieve this?

Answer Source

git doesn't store empty folders. Just make sure there's a file in the folder like doc/foo.txt and run git add doc or git add doc/foo.txt and the folder will be added to your local repo once you've committed (and appear on github once you've pushed it)

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download