the following steps describe how to add your local project to your git.

create a new project folder and open it in vs code, then create a new file named “index.html” and add some text to it.

open git bash and change the path to your project folder,then follow the commands

  1. git init // it creates .git file
  2. git add . // stages all your project files
  3. git commit -m “initial commit” // type any message for your first commit
  4. go to your github, create a new repository.

--

--

Sirisha komma

human with many ideas in mind and want to experience as many things as possible.