My First Post      My Facebook Profile      My MeOnShow Profile      W3LC Facebook Page      Learners Consortium Group      Job Portal      Shopping @Yeyhi.com

Pages










Friday, May 1, 2020

Creating new folders in GitHub repository via the browser

If you look into the Github repository online you will see that there is no direct method to create a folder. You can create a file or even upload it directly from the browser, but there seems to be no way to create a directory.
However, I have found that to make a new folder in the GitHub repository from the web browser interface, there exists a way Actually, it's just the same as creating a new file.
Steps:
1. Go to create a file

2. give the name of the folder that you want to create eg:
data/
It will create a folder named 'data'


3. If you want another nested folder then give another name eg.
airport-codes/
It will create another directory 'airport-codes' in 'data'


4. Next, create a file there. This can even be a temporary file that you can subsequently delete if you do not want it.

To see this in action refer:

Cheers :)

1 comment: