0

I want to push my project to git hub.

I use VSCode editor when i upload my project to github.

I got this type of error

enter image description here

rioV8
  • 24,506
  • 3
  • 32
  • 49
JUMBOTURN
  • 69
  • 1
  • 2
  • 11
  • 1
    what happens if you `pull` – rioV8 Sep 27 '20 at 08:47
  • 5
    Does this answer your question? [Can't push refs to remote try running pull first to integrate your changes](https://stackoverflow.com/questions/59790948/cant-push-refs-to-remote-try-running-pull-first-to-integrate-your-changes) – corashina Sep 27 '20 at 10:35

1 Answers1

0

It seems like your local repo is not in sync with remote repo. Try-

git add .
git commit {"Your message"}
git pull
git push
Shradha
  • 2,232
  • 1
  • 14
  • 26