To do this, we’re going to use the mkdir command: We want to create a folder called docs and a folder called dev. Our GitHub repository currently contains no folders: Before we start working on our updated code, we’re going to create the directory structure for our code. We already have a Git repository set up for this project. We’re going to start work on an update for a project called ck-git. We’ll walk through an example of how to create a folder from the Git command line, and give instructions on how to create a folder from the GitHub web interface. In this guide, we’re going to discuss how to create a folder on GitHub. To create a folder in Git, you must commit a folder to a repository that contains at least one file, even if that file is hidden. There is no Git feature that supports the creation of an empty folder.
0 Comments
Leave a Reply. |