Create folder in github-How to create folder in github repository?

758    Asked by CarolBower in Devops , Asked on Feb 24, 2021
Answered by Carol Bower

You can't create an empty folder and afterward, add files to that folder, however, all things considered, the formation of a folder should happen along with the option of at any rate a single file. On Github you can do it along these lines:


go to the folder inside which you might want to make another folder

Snap-on the New file

on the content field for the file name, first, compose the folder name you need to make

at that point type/. This makes a folder

you can add more folders also

at long last, give the new file a name, (eg. .gitkeep which is ordinarily used to permit git to follow in any case void folders; not a git include, however)

at long last, click Commit new file.



Your Answer

Interviews

Parent Categories