Creating a project in local git and then putting it on GitHub

Be care using commands on this page ( they are intended for a new empty remote repo, they can delete a remote repo ). Make sure you have anything you dont want to lose backed up. https://docs.github.com/en/github/importing-your-projects-to-github/importing-source-code-to-github/adding-an-existing-project-to-github-using-the-command-line I’m using local git client (below), on Mac. git version 2.33.0   In project dir (after git init … Read more