-3

I created the react.js and node.js projects and want to add them to github, like this is the file structure

structure file

i want to add it to github but when I push there is an error like this

the error

why could it happen like that? how to handle it?

after i fetch i got new error

master -> master (non-fast-forward)

1 Answers1

0

Only if you are completely sure that you want to push that changes to the repo, you can do

git push -f origin master

Francisco
  • 1,748
  • 1
  • 17
  • 19