Try running ‘Pull’ first to integrate your changes VS Code GitHub error

Viewed 23

When changes are pushed from local to remote server error "Try running ‘Pull’ first to integrate your changes"

2 Answers

use git pull first to merge remote changes

  1. press control+ ~
  2. type the following command
git pull

or just use vscode

enter image description here

PS: you really need to learn the basics of git

getting started about git

In your Visual Studio Code, go to the three dots here:

dots

Hover over the "push, pull" option and click on the "pull from" option. Then select your remote repository and then branch. Now push the changes again.

Related