Github Repository
Creating a new repository
The Steps:
- Type your project/folder name
- Select Visibility:
- Public - if you want to share publicly your files or code.
- Private - only visible to you or to the people you shared your repo.
- Check if you want to add a comprehensive information about your project.
- If there are specific files you want to exclude from being added to the repository, you can select from the dropdown list of programming languages. This will generate a
.gitignore
file containing a standard list of files and folders that should be excluded from the repository.
- Choose a license that best fits your project, as each license comes with its own set of terms and conditions for how others can use, modify, and distribute your code or files.
- Once ready click create button.
The image below illustrates an example of a newly created repository.
- In the top left corner, you’ll see that it is set to
Public
, indicating that anyone with the link can view the files in the repository. - The
.gitignore
file was also updated with the Node.js template.