On the command line

You can also directly use the git commands to commit your code

First you need to have git installed.

You can use scoop to install Git, or directly download Git from https://git-scm.com/downloads

Git initialisaton

Use one of the command terminal, such as Powershell on Windows

Run the following commands

git init
git add .

Commit your code to your local repository

git commit -m "replace with your own comments"

Create a empty repository on Github

Create the main branch and push the cod

Last updated