How can I deploy a routed react app, created locally, to a gitHub repository?

Viewed 18

I have a routed react app downloaded locally and I want to deploy it to a gitHub repository. From the terminal within Visual Studio Code I ran the commands

  • "git init"
  • "git commit -m 'first commit' "

And I got an error "untracked files: (use 'git add file...' to include in what will be committed) "

Then I ran the command

  • "git add ."

And this is where I encountered the problem. The command was running continuously and would not stop so I closed the terminal and then I had 10k changes show up in the source control tab in VSCode.

If anyone can help me figure out where I went wrong and how I can undo it and successfully deploy my app, I'd really appreciate it.

Thanks!

0 Answers
Related