Sunday Quicky #4: Creating a New Github Project

I have already done the bulk of the work on this, but it has a lot of waffle around it, so this will be a more straight to the point version.

Step One: Create Git Local Repository

Figure 1: Create local repository

Traditionally you add a README.md file first and initialise the repository, then add the new file and commit it.

Step Two: Create the Remote Repository

Figure 2: Click “New Repository” button on your Github account

In your list of repositories on Github click on the new button.

Figure 3: Specify remote repository name

The only thing you must do on this page is to specify the name you want to use for the remote repository. Don’t add a README, since you will be pushing the one you’ve already done soon, and we don’t want conflicts this early. Click “Create repository”.

Step Three: Follow the Steps laid out on the next page

Figure 4: Steps to follow next

As you can see, we’ve completed the first four steps already. I’d advise to have the full repository name copied to your clipboard to avoid typos when adding the remote repository. On my system “main” is specified as the main branch of projects by default, so the details below will deviate only very slightly.

Figure 5: Remote origin added and first push made

Now you have your repository set up. It will look a little something like this:

Figure 6: Newly pushed repository.

Hmm, two quickys today, I must be feeling energetic…

Leave a Reply

Your email address will not be published.