To create a repository for your project on GitHub, use the gh repo create subcommand. Stage and commit all the files in your project git add. ![]() Initialize the local directory as a Git repository. In the command line, navigate to the root directory of your project. To learn more about GitHub CLI, see " About GitHub CLI." GitHub CLI can simplify the process of adding an existing project to GitHub using the command line. GitHub CLI is an open source tool for using GitHub from your computer's command line. Sensitive information can include, but is not limited to:įor more information, see " Removing sensitive data from a repository." Adding a project to GitHub with GitHub CLI Warning: Never git add, commit, or push sensitive information to a remote repository.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |