How to Create Directory in Github
To create a directory in GitHub, you need to create at least one file inside that directory. Follow these steps:
- In your Github repository, click on the 'Add file' button.
- Select '+Create new file'.
- In the 'Name your file...' input box, type the path to the file, including the directory name.
- It will create a new-folder directory with a README.md file inside it.
- Add content to the file if needed.
- Click 'Commit changes'.
- Provide a commit message and description.
- Click 'Commit changes'.
- You have successfully created a directory directly on GitHub. Click on it.
- Following these steps will ensure that the new directory is created and visible in your GitHub repository.
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it