DEV Community

Vishal Yadav
Vishal Yadav

Posted on

2 1

How to push the Project into the git repo.!

Solution

Create repo into the GitHub profile

  • Then type the command in sequential order.

  • first create .gitignore file and then

 git init

 git add .

- git commit -m "Initial commit"

- git remote add origin path http

- git branch -m main

- git push -u origin main
Enter fullscreen mode Exit fullscreen mode

how to remove git from project

  • rm -rf .git

Top comments (0)

SurveyJS custom survey software

JavaScript Form Builder UI Component

Generate dynamic JSON-driven forms directly in your JavaScript app (Angular, React, Vue.js, jQuery) with a fully customizable drag-and-drop form builder. Easily integrate with any backend system and retain full ownership over your data, with no user or form submission limits.

Learn more